From 783e70ed27376d32862add47e081d231ce9d86da Mon Sep 17 00:00:00 2001 From: derselbst Date: Wed, 20 Sep 2017 20:22:18 +0200 Subject: [PATCH] deprecate even more redundant public synth functions --- src/synth/fluid_synth.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c index 2a05748c..8c7eb94d 100644 --- a/src/synth/fluid_synth.c +++ b/src/synth/fluid_synth.c @@ -4696,6 +4696,7 @@ fluid_synth_get_settings(fluid_synth_t* synth) * @param name Name of setting parameter * @param str Value to assign to the setting * @return FLUID_OK on success, FLUID_FAILED otherwise + * @deprecated Use fluid_settings_setstr() in combination with fluid_synth_get_settings() instead. */ int fluid_synth_setstr(fluid_synth_t* synth, const char* name, const char* str) @@ -4712,6 +4713,7 @@ fluid_synth_setstr(fluid_synth_t* synth, const char* name, const char* str) * @param name Name of setting parameter * @param str Location to store a pointer to the newly allocated string value * @return FLUID_OK on success, FLUID_FAILED otherwise + * @deprecated Use fluid_settings_dupstr() in combination with fluid_synth_get_settings() instead. * * The returned string is owned by the caller and should be freed with free() * when finished with it. @@ -4732,6 +4734,7 @@ fluid_synth_dupstr(fluid_synth_t* synth, const char* name, char** str) * @param name Name of setting parameter * @param val Value to assign to the setting * @return FLUID_OK on success, FLUID_FAILED otherwise + * @deprecated Use fluid_settings_setnum() in combination with fluid_synth_get_settings() instead. */ int fluid_synth_setnum(fluid_synth_t* synth, const char* name, double val) @@ -4748,6 +4751,7 @@ fluid_synth_setnum(fluid_synth_t* synth, const char* name, double val) * @param name Name of setting parameter * @param val Location to store the current value of the setting * @return FLUID_OK on success, FLUID_FAILED otherwise + * @deprecated Use fluid_settings_getnum() in combination with fluid_synth_get_settings() instead. */ int fluid_synth_getnum(fluid_synth_t* synth, const char* name, double* val) @@ -4764,6 +4768,7 @@ fluid_synth_getnum(fluid_synth_t* synth, const char* name, double* val) * @param name Name of setting parameter * @param val Value to assign to the setting * @return FLUID_OK on success, FLUID_FAILED otherwise + * @deprecated Use fluid_settings_setint() in combination with fluid_synth_get_settings() instead. */ int fluid_synth_setint(fluid_synth_t* synth, const char* name, int val) @@ -4780,6 +4785,7 @@ fluid_synth_setint(fluid_synth_t* synth, const char* name, int val) * @param name Name of setting parameter * @param val Location to store the current value of the setting * @return FLUID_OK on success, FLUID_FAILED otherwise + * @deprecated Use fluid_settings_getint() in combination with fluid_synth_get_settings() instead. */ int fluid_synth_getint(fluid_synth_t* synth, const char* name, int* val)