Oops. Fix bug introduced in mapping note exclusion commit

that resulted in all non-note events being dropped.
pull/3/head
Jonathan Moore Liles 2008-02-15 00:10:28 -06:00
parent 5cb724cecc
commit 6765c3faea
1 changed files with 2 additions and 0 deletions

View File

@ -459,8 +459,10 @@ try_again:
}
else
if ( me.is_note_off() )
{
if ( mapping.translate( &me ) )
midi_output_event( _port, &me, 0 );
}
else
/* any other event type */
midi_output_event( _port, &me );