mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
remove deprecated fluid_synth_reset_tuning()
This commit is contained in:
parent
70a1c82a5e
commit
c5cdcb8eda
3 changed files with 1 additions and 21 deletions
|
@ -81,6 +81,7 @@ Changes in FluidSynth 2.0.0 concerning developers:
|
|||
- 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_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 misspelled FLUID_SEQ_PITCHWHHELSENS macro
|
||||
- remove obsolete "audio.[out|in]put-channels" settings
|
||||
|
|
|
@ -238,9 +238,6 @@ FLUIDSYNTH_API
|
|||
int fluid_synth_activate_tuning(fluid_synth_t* synth, int chan, int bank, int prog,
|
||||
int apply);
|
||||
FLUIDSYNTH_API
|
||||
FLUID_DEPRECATED
|
||||
int fluid_synth_reset_tuning(fluid_synth_t* synth, int chan);
|
||||
FLUIDSYNTH_API
|
||||
int fluid_synth_deactivate_tuning(fluid_synth_t* synth, int chan, int apply);
|
||||
FLUIDSYNTH_API void fluid_synth_tuning_iteration_start(fluid_synth_t* synth);
|
||||
FLUIDSYNTH_API
|
||||
|
|
|
@ -4709,24 +4709,6 @@ fluid_synth_set_tuning_LOCAL (fluid_synth_t *synth, int chan,
|
|||
return FLUID_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear tuning scale on a MIDI channel (set it to the default equal tempered scale).
|
||||
* @param synth FluidSynth instance
|
||||
* @param chan MIDI channel number (0 to MIDI channel count - 1)
|
||||
* @return FLUID_OK on success, FLUID_FAILED otherwise
|
||||
*
|
||||
* @note This function does NOT activate tuning change in realtime, use
|
||||
* fluid_synth_deactivate_tuning() instead to specify whether tuning change
|
||||
* should cause existing notes to update.
|
||||
*
|
||||
* @deprecated Use fluid_synth_deactivate_tuning(synth, chan, FALSE) instead.
|
||||
*/
|
||||
int
|
||||
fluid_synth_reset_tuning(fluid_synth_t* synth, int chan)
|
||||
{
|
||||
return fluid_synth_deactivate_tuning (synth, chan, FALSE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear tuning scale on a MIDI channel (use default equal tempered scale).
|
||||
* @param synth FluidSynth instance
|
||||
|
|
Loading…
Reference in a new issue