Main Page | Data Structures | Directories | File List | Data Fields | Globals

_fluid_sfont_t Struct Reference


Data Fields

void * data
unsigned int id
int(* free )(fluid_sfont_t *sfont)
 The 'free' callback function should return 0 when it was able to free all resources.
char *(* get_name )(fluid_sfont_t *sfont)
 Return the name of the sfont.
fluid_preset_t *(* get_preset )(fluid_sfont_t *sfont, unsigned int bank, unsigned int prenum)
 Return the preset with the specified bank and preset number.
void(* iteration_start )(fluid_sfont_t *sfont)
int(* iteration_next )(fluid_sfont_t *sfont, fluid_preset_t *preset)

Detailed Description

Definition at line 92 of file sfont.h.


Field Documentation

void* _fluid_sfont_t::data
 

Definition at line 93 of file sfont.h.

int(* _fluid_sfont_t::free)(fluid_sfont_t *sfont)
 

The 'free' callback function should return 0 when it was able to free all resources.

It should return a non-zero value if some of the samples could not be freed because they are still in use.

char*(* _fluid_sfont_t::get_name)(fluid_sfont_t *sfont)
 

Return the name of the sfont.

fluid_preset_t*(* _fluid_sfont_t::get_preset)(fluid_sfont_t *sfont, unsigned int bank, unsigned int prenum)
 

Return the preset with the specified bank and preset number.

All the fields, including the 'sfont' field, should * be filled in. If the preset cannot be found, the function returns NULL.

unsigned int _fluid_sfont_t::id
 

Definition at line 94 of file sfont.h.

int(* _fluid_sfont_t::iteration_next)(fluid_sfont_t *sfont, fluid_preset_t *preset)
 

void(* _fluid_sfont_t::iteration_start)(fluid_sfont_t *sfont)
 


The documentation for this struct was generated from the following file:
Generated on Sun Feb 19 02:34:30 2006 for libfluidsynth by  doxygen 1.4.4