mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-01 00:21:14 +00:00
update API doc about new_fluid_defsfloader()
This commit is contained in:
parent
b334ba3f8f
commit
5c5423df32
1 changed files with 8 additions and 0 deletions
|
@ -82,6 +82,14 @@ static const fluid_file_callbacks_t def_file_callbacks =
|
|||
default_ftell
|
||||
};
|
||||
|
||||
/**
|
||||
* Creates a default soundfont2 loader that can be used with fluid_synth_add_sfloader().
|
||||
* By default every synth instance has an initial default soundfont loader instance.
|
||||
* Calling this function is usually only necessary to load a soundfont from memory, by overriding \c fluid_sfloader_t::file_callbacks member.
|
||||
*
|
||||
* @param settings A settings instance obtained by new_fluid_settings()
|
||||
* @return A default soundfont2 loader struct
|
||||
*/
|
||||
fluid_sfloader_t* new_fluid_defsfloader(fluid_settings_t* settings)
|
||||
{
|
||||
fluid_sfloader_t* loader;
|
||||
|
|
Loading…
Reference in a new issue