mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-01 00:21:14 +00:00
Remove now invalid comments about having to free presets
This commit is contained in:
parent
1a1bf7d0ea
commit
5a8880560d
1 changed files with 1 additions and 9 deletions
|
@ -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.
|
||||
* 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*
|
||||
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.
|
||||
* 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*
|
||||
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.
|
||||
* 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_synth_find_preset(fluid_synth_t* synth, unsigned int banknum,
|
||||
unsigned int prognum)
|
||||
|
|
Loading…
Reference in a new issue