Skip to content

Commit

Permalink
Deprecate fluid_event_any_control_change()
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Sep 11, 2020
1 parent ff7c72c commit 6776569
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/fluidsynth/event.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/synth/fluid_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6776569

Please sign in to comment.