diff --git a/doc/fluidsynth-v11-devdoc.txt b/doc/fluidsynth-v11-devdoc.txt index 406510d1..381c91dc 100644 --- a/doc/fluidsynth-v11-devdoc.txt +++ b/doc/fluidsynth-v11-devdoc.txt @@ -79,6 +79,7 @@ Changes in FluidSynth 2.0.0 concerning developers: - remove deprecated fluid_synth_set_midi_router() - remove deprecated fluid_get_hinstance() and fluid_set_hinstance() (dsound driver now uses the desktop window) - remove deprecated fluid_synth_create_key_tuning(), use fluid_synth_activate_key_tuning(synth, bank, prog, name, pitch, FALSE) instead +- remove deprecated fluid_synth_create_octave_tuning(), use fluid_synth_activate_octave_tuning(synth, bank, prog, name, pitch, FALSE) instead - remove deprecated FLUID_HINT_INTEGER - remove misspelled FLUID_SEQ_PITCHWHHELSENS macro - remove obsolete "audio.[out|in]put-channels" settings diff --git a/include/fluidsynth/synth.h b/include/fluidsynth/synth.h index bdfdd634..64a9fc56 100644 --- a/include/fluidsynth/synth.h +++ b/include/fluidsynth/synth.h @@ -228,10 +228,6 @@ FLUIDSYNTH_API float fluid_synth_get_gen(fluid_synth_t* synth, int chan, int par FLUIDSYNTH_API int fluid_synth_activate_key_tuning(fluid_synth_t* synth, int bank, int prog, const char* name, const double* pitch, int apply); -FLUIDSYNTH_API -FLUID_DEPRECATED -int fluid_synth_create_octave_tuning(fluid_synth_t* synth, int bank, int prog, - const char* name, const double* pitch); FLUIDSYNTH_API int fluid_synth_activate_octave_tuning(fluid_synth_t* synth, int bank, int prog, const char* name, const double* pitch, int apply); diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c index a27db271..86a72dd0 100644 --- a/src/synth/fluid_synth.c +++ b/src/synth/fluid_synth.c @@ -4540,30 +4540,6 @@ fluid_synth_activate_key_tuning(fluid_synth_t* synth, int bank, int prog, FLUID_API_RETURN(retval); } -/** - * Apply an octave tuning to every octave in the MIDI note scale. - * @param synth FluidSynth instance - * @param bank Tuning bank number (0-127), not related to MIDI instrument bank - * @param prog Tuning preset number (0-127), not related to MIDI instrument program - * @param name Label name for this tuning - * @param pitch Array of pitch values (length of 12 for each note of an octave - * starting at note C, values are number of offset cents to add to the normal - * tuning amount) - * @return FLUID_OK on success, FLUID_FAILED otherwise - * - * @note Tuning is not applied in realtime to existing notes of the replaced - * tuning (if any), use fluid_synth_activate_octave_tuning() instead to specify - * this behavior. - * - * @deprecated Use fluid_synth_activate_octave_tuning(synth, bank, prog, name, pitch, FALSE) instead. - */ -int -fluid_synth_create_octave_tuning(fluid_synth_t* synth, int bank, int prog, - const char* name, const double* pitch) -{ - return fluid_synth_activate_octave_tuning (synth, bank, prog, name, pitch, FALSE); -} - /** * Activate an octave tuning on every octave in the MIDI note scale. * @param synth FluidSynth instance