Skip to content

Commit

Permalink
Merge pull request thestk#2 from hhromic/master
Browse files Browse the repository at this point in the history
Added missing SND_SEQ_EVENT_CLOCK event (MIDI Real Time Clock message) f...
  • Loading branch information
garyscavone committed Jan 18, 2014
2 parents c80bfb6 + eb300bf commit 4034140
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RtMidi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,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;
Expand Down

0 comments on commit 4034140

Please sign in to comment.