diff --git a/include/fluidsynth/event.h b/include/fluidsynth/event.h index 3d7a1f7ec..8f5269d2c 100644 --- a/include/fluidsynth/event.h +++ b/include/fluidsynth/event.h @@ -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); diff --git a/src/synth/fluid_event.c b/src/synth/fluid_event.c index d7962eac9..06e842356 100644 --- a/src/synth/fluid_event.c +++ b/src/synth/fluid_event.c @@ -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)