re-introduce fluid_synth_set_gen2()

to reduce API breakage
This commit is contained in:
derselbst 2017-12-06 12:18:06 +01:00
parent 38fc7fb027
commit a4e43d3543
3 changed files with 12 additions and 7 deletions

View file

@ -218,6 +218,8 @@ enum fluid_interp {
/* Generator interface */
FLUIDSYNTH_API int fluid_synth_set_gen (fluid_synth_t* synth, int chan,
int param, float value);
FLUIDSYNTH_API int fluid_synth_set_gen2 (fluid_synth_t* synth, int chan,
int param, float value,
int absolute, int normalized);
FLUIDSYNTH_API float fluid_synth_get_gen(fluid_synth_t* synth, int chan, int param);