The OpenD Programming Language

MidiOutputThreadImplementation.setCallback

Set this if you want to filter or otherwise respond to events.

Return true to continue processing the event, return false if you want to skip it.

The midi thread calls this function, so beware of cross-thread issues and make sure you spend as little time as possible in the callback to avoid throwing off time.

class MidiOutputThreadImplementation
shared
void
setCallback
(
bool delegate callback
)

Meta