AudioDeviceManager’s addMidiInputDeviceCallback() and removeMidiInputDeviceCallback() both want MidiMessageCollector as their parameter. Is it OK to use one and the same MidiMessageCollector instance for X amount of MIDI inputs or will that cause problems?
What I’m trying to achieve is what most DAWs do by default: enabled MIDI input signals are combined together and then fed to whichever instrument/device/whatever the user has selected at any given time.