remove deprecated flag from fluid_synth_get_channel_preset()

This commit is contained in:
derselbst 2017-09-24 14:53:37 +02:00
parent 1d9fc3ad5b
commit 6b7f3c0264

View file

@ -3688,11 +3688,10 @@ fluid_synth_get_sfont_by_name(fluid_synth_t* synth, const char *name)
* Get active preset on a MIDI channel. * Get active preset on a MIDI channel.
* @param synth FluidSynth instance * @param synth FluidSynth instance
* @param chan MIDI channel number (0 to MIDI channel count - 1) * @param chan MIDI channel number (0 to MIDI channel count - 1)
* @return Preset or NULL if no preset active on channel * @return Preset or NULL if no preset active on \c chan
* @deprecated fluid_synth_get_channel_info() should replace most use cases.
* *
* @note Should only be called from within synthesis thread, which includes * @note Should only be called from within synthesis thread, which includes
* SoundFont loader preset noteon methods. Not thread safe otherwise. * SoundFont loader preset noteon methods. Not thread safe otherwise.
*/ */
fluid_preset_t * fluid_preset_t *
fluid_synth_get_channel_preset(fluid_synth_t* synth, int chan) fluid_synth_get_channel_preset(fluid_synth_t* synth, int chan)