_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:
loader SoundFont 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:
loader SoundFont loader
filename File 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:
Generated on Mon Sep 6 12:29:28 2010 for libfluidsynth by  doxygen 1.6.3