diff --git a/src/midi/fluid_seqbind.c b/src/midi/fluid_seqbind.c index f456d7a7..dda40236 100644 --- a/src/midi/fluid_seqbind.c +++ b/src/midi/fluid_seqbind.c @@ -181,7 +181,7 @@ fluid_seq_fluidsynth_callback(unsigned int time, fluid_event_t* evt, fluid_seque fluid_synth_pitch_bend(synth, fluid_event_get_channel(evt), fluid_event_get_pitch(evt)); break; - case FLUID_SEQ_PITCHWHHELSENS: + case FLUID_SEQ_PITCHWHEELSENS: fluid_synth_pitch_wheel_sens(synth, fluid_event_get_channel(evt), fluid_event_get_value(evt)); break; diff --git a/src/synth/fluid_event.c b/src/synth/fluid_event.c index 4231c798..0a6f5fa1 100644 --- a/src/synth/fluid_event.c +++ b/src/synth/fluid_event.c @@ -286,7 +286,7 @@ fluid_event_pitch_bend(fluid_event_t* evt, int channel, int pitch) void fluid_event_pitch_wheelsens(fluid_event_t* evt, int channel, short value) { - evt->type = FLUID_SEQ_PITCHWHHELSENS; + evt->type = FLUID_SEQ_PITCHWHEELSENS; evt->channel = channel; evt->value = value; } @@ -558,7 +558,7 @@ short fluid_event_get_control(fluid_event_t* evt) * * The Value field is used by the following event types: * #FLUID_SEQ_PROGRAMCHANGE, #FLUID_SEQ_PROGRAMSELECT (preset_num), - * #FLUID_SEQ_PITCHWHHELSENS, #FLUID_SEQ_MODULATION, #FLUID_SEQ_SUSTAIN, + * #FLUID_SEQ_PITCHWHEELSENS, #FLUID_SEQ_MODULATION, #FLUID_SEQ_SUSTAIN, * #FLUID_SEQ_CONTROLCHANGE, #FLUID_SEQ_PAN, #FLUID_SEQ_VOLUME, * #FLUID_SEQ_REVERBSEND, #FLUID_SEQ_CHORUSSEND. */