Is MidiOutput::sendMessageNow thread safe?


#1

Is MidiOutput::sendMessageNow thread safe on all platforms?
If not, should i call it only on the main thread or only on the audio thread?

Please mention in the docs.


#2

Yes, it’s thread-safe. The midi output doesn’t have anything to do with audio i/o, so whether or not you’re using the audio thread makes no difference.