diff --git a/doc/fluidsynth-v11-devdoc.txt b/doc/fluidsynth-v11-devdoc.txt index 83a60f94..551a7b38 100644 --- a/doc/fluidsynth-v11-devdoc.txt +++ b/doc/fluidsynth-v11-devdoc.txt @@ -83,6 +83,7 @@ Changes in FluidSynth 2.0.0 concerning developers: - remove deprecated fluid_synth_select_tuning(), use fluid_synth_activate_tuning(synth, chan, bank, prog, FALSE) instead - remove deprecated fluid_synth_reset_tuning(), use fluid_synth_deactivate_tuning(synth, chan, FALSE) instead - remove deprecated FLUID_HINT_INTEGER +- remove deprecated fluid_synth_set_gen2() as there doesnt seem to be a use case for absolute generator values - remove misspelled FLUID_SEQ_PITCHWHHELSENS macro - remove obsolete "audio.[out|in]put-channels" settings - remove unimplemented "synth.dump" setting diff --git a/include/fluidsynth/synth.h b/include/fluidsynth/synth.h index 12c68ecc..37e020df 100644 --- a/include/fluidsynth/synth.h +++ b/include/fluidsynth/synth.h @@ -219,9 +219,6 @@ enum fluid_interp { 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); diff --git a/src/synth/fluid_synth.h b/src/synth/fluid_synth.h index 4b894868..96d4dd8c 100644 --- a/src/synth/fluid_synth.h +++ b/src/synth/fluid_synth.h @@ -201,6 +201,9 @@ void fluid_synth_api_exit(fluid_synth_t* synth); void fluid_synth_process_event_queue(fluid_synth_t* synth); +int fluid_synth_set_gen2 (fluid_synth_t* synth, int chan, + int param, float value, + int absolute, int normalized); /* * misc */