From f43c03639174c6ddbaddf570ebaeb42037addd69 Mon Sep 17 00:00:00 2001 From: derselbst Date: Tue, 19 Sep 2017 16:04:57 +0200 Subject: [PATCH] mark fluid_synth_get_program() as deprecated --- src/synth/fluid_synth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c index fa0421df..15efbf91 100644 --- a/src/synth/fluid_synth.c +++ b/src/synth/fluid_synth.c @@ -2122,6 +2122,7 @@ fluid_synth_unset_program (fluid_synth_t *synth, int chan) * @param bank_num Location to store MIDI bank number * @param preset_num Location to store MIDI program number * @return FLUID_OK on success, FLUID_FAILED otherwise + * @deprecated Use fluid_synth_get_channel_info() instead. */ int fluid_synth_get_program(fluid_synth_t* synth, int chan, unsigned int* sfont_id,