libfluidsynth  1.1.11
Data Fields
_fluid_sfloader_t Struct Reference

SoundFont loader structure. More...

Data Fields

void * data
 User defined data pointer used by _fluid_sfloader_t::load()
 
int(* free )(fluid_sfloader_t *loader)
 The free method should free the memory allocated for the loader in addition to any private data. More...
 
fluid_sfont_t *(* load )(fluid_sfloader_t *loader, const char *filename)
 Method to load an instrument file (does not actually need to be a real file name, could be another type of string identifier that the loader understands). More...
 

Detailed Description

SoundFont loader structure.

Field Documentation

◆ free

int(* _fluid_sfloader_t::free) (fluid_sfloader_t *loader)

The free method should free the memory allocated for the loader in addition to any private data.

Parameters
loaderSoundFont loader
Returns
Should return 0 if no error occured, non-zero otherwise

◆ load

fluid_sfont_t*(* _fluid_sfloader_t::load) (fluid_sfloader_t *loader, const char *filename)

Method to load an instrument file (does not actually need to be a real file name, could be another type of string identifier that the loader understands).

Parameters
loaderSoundFont loader
filenameFile name or other string identifier
Returns
The loaded instrument file (SoundFont) or NULL if an error occured.

The documentation for this struct was generated from the following file: