1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00

MIDI (Linux): Fix issue where enumerating devices at app startup could fail to return any devices

This commit is contained in:
reuk 2026-02-03 13:10:37 +00:00
parent 8352680839
commit 9a66deaaa4

View file

@ -691,7 +691,7 @@ struct AlsaMidiHelpers
int clientId = snd_seq_client_id (handle.get());
WaitFreeListeners<InputCallback> inputCallbacks;
WaitFreeListeners<PortExitCallback> portExitCallbacks;
std::map<ump::EndpointId, AlsaClientInfo> cachedEndpoints;
std::map<ump::EndpointId, AlsaClientInfo> cachedEndpoints = findEndpoints (handle.get());
SequencerThread inputThread { handle.get(), *this, *this, *this };
};