Remove now invalid comments about having to free presets

This commit is contained in:
Marcus Weseloh 2018-04-08 22:54:34 +02:00
parent 1a1bf7d0ea
commit 5a8880560d

View file

@ -2209,9 +2209,6 @@ fluid_synth_set_preset (fluid_synth_t *synth, int chan, fluid_preset_t *preset)
/* Get a preset by SoundFont, bank and program numbers. /* Get a preset by SoundFont, bank and program numbers.
* Returns preset pointer or NULL. * Returns preset pointer or NULL.
*
* @note The returned preset has been allocated, caller owns it and should
* free it when finished using it.
*/ */
static fluid_preset_t* static fluid_preset_t*
fluid_synth_get_preset(fluid_synth_t* synth, unsigned int sfontnum, fluid_synth_get_preset(fluid_synth_t* synth, unsigned int sfontnum,
@ -2241,9 +2238,6 @@ fluid_synth_get_preset(fluid_synth_t* synth, unsigned int sfontnum,
/* Get a preset by SoundFont name, bank and program. /* Get a preset by SoundFont name, bank and program.
* Returns preset pointer or NULL. * Returns preset pointer or NULL.
*
* @note The returned preset has been allocated, caller owns it and should
* free it when finished using it.
*/ */
static fluid_preset_t* static fluid_preset_t*
fluid_synth_get_preset_by_sfont_name(fluid_synth_t* synth, const char *sfontname, fluid_synth_get_preset_by_sfont_name(fluid_synth_t* synth, const char *sfontname,
@ -2270,9 +2264,7 @@ fluid_synth_get_preset_by_sfont_name(fluid_synth_t* synth, const char *sfontname
/* Find a preset by bank and program numbers. /* Find a preset by bank and program numbers.
* Returns preset pointer or NULL. * Returns preset pointer or NULL.
* */
* @note The returned preset has been allocated, caller owns it and should
* free it when finished using it. */
fluid_preset_t* fluid_preset_t*
fluid_synth_find_preset(fluid_synth_t* synth, unsigned int banknum, fluid_synth_find_preset(fluid_synth_t* synth, unsigned int banknum,
unsigned int prognum) unsigned int prognum)