MIDI Device Connection/Disconnection callback


changes to the device manager are broadcasted properly, but if I connect or disconnect a MIDI device - no callback is received.

I found an old thread here from more than 4 years ago that suggests to poll the list of devices constantly to get this functionality working which seems a bit archaic …

Am I missing something or is this still not implemented and the only solution is to have a timer and ask for the list all the time?



Unfortunately, there is no callback for that. We have been using the timer solution in our projects and it never seemed to be a problem. Check out the MidiTest project in the examples folder in JUCE for an example.

Thanks - that’s what I thought - just wanted to make sure I’m not missing some awesome new JUCE magic :slight_smile: