summaryrefslogtreecommitdiff
path: root/RtMidi.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2014-01-15 20:10:59 -0500
committerGary Scavone <gary@music.mcgill.ca>2014-01-15 20:10:59 -0500
commite70222f6a077b220cdd6ecc6d4626ed6a165f775 (patch)
tree3f9a69971755e26322b0d7578b0050ca5d1d77f8 /RtMidi.cpp
parente03b61cfe11901bc696eb17d639f78830b81eac5 (diff)
ALSA TIME TICK update and documentation updates for RtMidiError class.
Diffstat (limited to 'RtMidi.cpp')
-rw-r--r--RtMidi.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/RtMidi.cpp b/RtMidi.cpp
index 4b2eabb..5141ac0 100644
--- a/RtMidi.cpp
+++ b/RtMidi.cpp
@@ -1176,7 +1176,11 @@ static void *alsaMidiHandler( void *ptr )
if ( !( data->ignoreFlags & 0x02 ) ) doDecode = true;
break;
- case SND_SEQ_EVENT_CLOCK: // MIDI timing tick
+ case SND_SEQ_EVENT_TICK: // 0xF9 ... MIDI timing tick
+ if ( !( data->ignoreFlags & 0x02 ) ) doDecode = true;
+ break;
+
+ case SND_SEQ_EVENT_CLOCK: // 0xF8 ... MIDI timing (clock) tick
if ( !( data->ignoreFlags & 0x02 ) ) doDecode = true;
break;