call fluid_synth_all_notes_off() directly

This commit is contained in:
derselbst 2017-11-15 17:13:23 +01:00
parent 7dee2c18e9
commit fd7bc44b0b

View file

@ -155,7 +155,7 @@ fluid_seq_fluidsynth_callback(unsigned int time, fluid_event_t* evt, fluid_seque
break;
case FLUID_SEQ_ALLNOTESOFF:
fluid_synth_cc(synth, fluid_event_get_channel(evt), ALL_NOTES_OFF, 0);
fluid_synth_all_notes_off(synth, fluid_event_get_channel(evt));
break;
case FLUID_SEQ_BANKSELECT: