diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2014-03-14 13:50:32 -0400 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2014-03-14 13:50:32 -0400 |
| commit | f9c4af9da634d6e0c949f38802abb257db6ca204 (patch) | |
| tree | 0e1af52adc02c2312ccc1334af7b687bb047bd11 /RtMidi.cpp | |
| parent | a4347457ef89c185bcad79767bf041440d706cae (diff) | |
Fix for spurious callbacks in OS-X when ignoring sysex messages and split sysexes are received (codepainters)
Diffstat (limited to 'RtMidi.cpp')
| -rw-r--r-- | RtMidi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -466,7 +466,7 @@ static void midiInputCallback( const MIDIPacketList *list, void *procRef, void * } continueSysex = packet->data[nBytes-1] != 0xF7; - if ( !continueSysex ) { + if ( !( data->ignoreFlags & 0x01 ) && !continueSysex ) { // If not a continuing sysex message, invoke the user callback function or queue the message. if ( data->usingCallback ) { RtMidiIn::RtMidiCallback callback = (RtMidiIn::RtMidiCallback) data->userCallback; |
