Changeset 447 for trunk/libjdkmidi/trunk
- Timestamp:
- 12/07/07 10:19:48 (12 months ago)
- Files:
-
- 1 modified
-
trunk/libjdkmidi/trunk/src/jdkmidi_fileread.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libjdkmidi/trunk/src/jdkmidi_fileread.cpp
r8 r447 496 496 else 497 497 { 498 // TO DO: is running status to be cleared or not when meta event happens? 499 500 #if MIDIFRD_ALLOW_STATUS_ACROSS_META_EVENT 498 // Special thanks to "Peter Schwind" <pschwind@gmx.de> 499 // for the answer to the question and the fix for: 500 // "is running status to be cleared or not when meta event happens?" 501 // the answer is no. 502 501 503 if( c!=0xff ) 502 504 { 503 505 status=c; 504 running=0;505 needed=0;506 506 } 507 508 #else 509 status=c; 507 510 508 running=0; 511 needed = chantype[ (status>>4) & 0xf ]; 512 #endif 513 514 } 515 516 509 needed = chantype[ (status>>4) & 0xf ]; 510 } 517 511 518 512 if( needed ) // ie. is it a channel message?
