mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
remove deprecated fluid_synth_create_key_tuning()
This commit is contained in:
parent
62df9178ae
commit
7140e971ec
3 changed files with 1 additions and 28 deletions
|
@ -78,6 +78,7 @@ Changes in FluidSynth 2.0.0 concerning developers:
|
|||
- remove deprecated fluid_settings_getstr()
|
||||
- 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_HINT_INTEGER
|
||||
- remove misspelled FLUID_SEQ_PITCHWHHELSENS macro
|
||||
- remove obsolete "audio.[out|in]put-channels" settings
|
||||
|
|
|
@ -225,10 +225,6 @@ FLUIDSYNTH_API float fluid_synth_get_gen(fluid_synth_t* synth, int chan, int par
|
|||
|
||||
/* Tuning */
|
||||
|
||||
FLUIDSYNTH_API
|
||||
FLUID_DEPRECATED
|
||||
int fluid_synth_create_key_tuning(fluid_synth_t* synth, int bank, int prog,
|
||||
const char* name, const double* pitch);
|
||||
FLUIDSYNTH_API
|
||||
int fluid_synth_activate_key_tuning(fluid_synth_t* synth, int bank, int prog,
|
||||
const char* name, const double* pitch, int apply);
|
||||
|
|
|
@ -4500,30 +4500,6 @@ fluid_synth_update_voice_tuning_LOCAL (fluid_synth_t *synth, fluid_channel_t *ch
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the tuning of the entire 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 128, each value is number of
|
||||
* cents, for example normally note 0 is 0.0, 1 is 100.0, 60 is 6000.0, etc).
|
||||
* Pass NULL to create a equal tempered (normal) scale.
|
||||
* @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_key_tuning() instead to specify
|
||||
* this behavior.
|
||||
*
|
||||
* @deprecated Use fluid_synth_activate_key_tuning(synth, bank, prog, name, pitch, FALSE) instead.
|
||||
*/
|
||||
int
|
||||
fluid_synth_create_key_tuning(fluid_synth_t* synth, int bank, int prog,
|
||||
const char* name, const double* pitch)
|
||||
{
|
||||
return fluid_synth_activate_key_tuning (synth, bank, prog, name, pitch, FALSE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the tuning of the entire MIDI note scale.
|
||||
* @param synth FluidSynth instance
|
||||
|
|
Loading…
Reference in a new issue