mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-25 21:31:49 +00:00
fix build
This commit is contained in:
parent
d1de3487e6
commit
7b54b07b2d
2 changed files with 3 additions and 3 deletions
|
@ -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));
|
fluid_synth_pitch_bend(synth, fluid_event_get_channel(evt), fluid_event_get_pitch(evt));
|
||||||
break;
|
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));
|
fluid_synth_pitch_wheel_sens(synth, fluid_event_get_channel(evt), fluid_event_get_value(evt));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -286,7 +286,7 @@ fluid_event_pitch_bend(fluid_event_t* evt, int channel, int pitch)
|
||||||
void
|
void
|
||||||
fluid_event_pitch_wheelsens(fluid_event_t* evt, int channel, short value)
|
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->channel = channel;
|
||||||
evt->value = value;
|
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:
|
* The Value field is used by the following event types:
|
||||||
* #FLUID_SEQ_PROGRAMCHANGE, #FLUID_SEQ_PROGRAMSELECT (preset_num),
|
* #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_CONTROLCHANGE, #FLUID_SEQ_PAN, #FLUID_SEQ_VOLUME,
|
||||||
* #FLUID_SEQ_REVERBSEND, #FLUID_SEQ_CHORUSSEND.
|
* #FLUID_SEQ_REVERBSEND, #FLUID_SEQ_CHORUSSEND.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue