ソースを参照

Merge pull request #2 from hhromic/master

Added missing SND_SEQ_EVENT_CLOCK event (MIDI Real Time Clock message) f...
garyscavone 11 年 前
コミット
4034140197
1 ファイル変更4 行追加0 行削除
  1. 4 0
      RtMidi.cpp

+ 4 - 0
RtMidi.cpp

@@ -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;