I guess it’s a stupid idea to use one Midiinputcallback object for two inputs, isn’t it?


Not necessarily! I’m sure there are situations where that’d be the best way to do something.

Thanks but what about thread safety. In my case I want to put incomming Midi messages into
the same lockless FIFO…

ah, well you’re on your own with that, it’d depend on your fifo’s behaviour.