Deprecate fluid_event_any_control_change()

This commit is contained in:
derselbst 2020-09-11 22:22:35 +02:00
parent ff7c72c80f
commit 6776569abe
2 changed files with 2 additions and 1 deletions

View file

@ -111,7 +111,7 @@ FLUIDSYNTH_API void fluid_event_system_reset(fluid_event_t *evt);
/* Only for removing events */
FLUIDSYNTH_API void fluid_event_any_control_change(fluid_event_t *evt, int channel);
FLUID_DEPRECATED FLUIDSYNTH_API void fluid_event_any_control_change(fluid_event_t *evt, int channel);
/* Only when unregistering clients */
FLUIDSYNTH_API void fluid_event_unregistering(fluid_event_t *evt);

View file

@ -252,6 +252,7 @@ fluid_event_program_select(fluid_event_t *evt, int channel,
* Set a sequencer event to be an any control change event (for internal use).
* @param evt Sequencer event structure
* @param channel MIDI channel number
* @deprecated This function has been deprecated. It was only meant for internal usage, it should have never been made public. It will be removed in fluidsynth 2.2.0.
*/
void
fluid_event_any_control_change(fluid_event_t *evt, int channel)