libfluidsynth 1.1.3
Data Fields

_fluid_sfloader_t Struct Reference

SoundFont loader structure. More...

Data Fields

void * data
 User defined data pointer.
int(* free )(fluid_sfloader_t *loader)
 The free method should free the memory allocated for the loader in addition to any private data.
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).

Detailed Description

SoundFont loader structure.


Field Documentation

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
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: