summaryrefslogtreecommitdiff
path: root/RtMidi.cpp
diff options
context:
space:
mode:
authorHugo Hromic <hugo.hromic@deri.org>2014-01-14 21:51:03 +0000
committerHugo Hromic <hugo.hromic@deri.org>2014-01-14 21:51:03 +0000
commiteb300bf21730e1e561bdc6b172a5092509c1bb9c (patch)
tree7820680458f2d7ece1f5c152db378b751c217784 /RtMidi.cpp
parent408610f7b91afb25549369e951a5d899c936fc9a (diff)
Added missing SND_SEQ_EVENT_CLOCK event (MIDI Real Time Clock message) for timing ignoring.
Diffstat (limited to 'RtMidi.cpp')
-rw-r--r--RtMidi.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/RtMidi.cpp b/RtMidi.cpp
index 027c7a2..073e509 100644
--- a/RtMidi.cpp
+++ b/RtMidi.cpp
@@ -1210,6 +1210,10 @@ extern "C" void *alsaMidiHandler( void *ptr )
if ( !( data->ignoreFlags & 0x02 ) ) doDecode = true;
break;
+ case SND_SEQ_EVENT_CLOCK: // MIDI timing clock
+ if ( !( data->ignoreFlags & 0x02 ) ) doDecode = true;
+ break;
+
case SND_SEQ_EVENT_SENSING: // Active sensing
if ( !( data->ignoreFlags & 0x04 ) ) doDecode = true;
break;