Virtual SoundFont instance structure. More...
Data Fields | |
void * | data |
User defined data. | |
unsigned int | id |
SoundFont ID. | |
int(* | free )(fluid_sfont_t *sfont) |
Method to free a virtual SoundFont bank. | |
char *(* | get_name )(fluid_sfont_t *sfont) |
Method to return the name of a virtual SoundFont. | |
fluid_preset_t *(* | get_preset )(fluid_sfont_t *sfont, unsigned int bank, unsigned int prenum) |
Get a virtual SoundFont preset by bank and program numbers. | |
void(* | iteration_start )(fluid_sfont_t *sfont) |
Start virtual SoundFont preset iteration method. | |
int(* | iteration_next )(fluid_sfont_t *sfont, fluid_preset_t *preset) |
Virtual SoundFont preset iteration function. |
Virtual SoundFont instance structure.
int(* _fluid_sfont_t::free)(fluid_sfont_t *sfont) |
Method to free a virtual SoundFont bank.
sfont | Virtual SoundFont to free. |
Referenced by fluid_ramsfont_create_sfont().
char*(* _fluid_sfont_t::get_name)(fluid_sfont_t *sfont) |
Method to return the name of a virtual SoundFont.
sfont | Virtual SoundFont |
Referenced by fluid_ramsfont_create_sfont().
fluid_preset_t*(* _fluid_sfont_t::get_preset)(fluid_sfont_t *sfont, unsigned int bank, unsigned int prenum) |
Get a virtual SoundFont preset by bank and program numbers.
sfont | Virtual SoundFont | |
bank | MIDI bank number (0-16384) | |
prenum | MIDI preset number (0-127) |
Referenced by fluid_ramsfont_create_sfont().
void(* _fluid_sfont_t::iteration_start)(fluid_sfont_t *sfont) |
Start virtual SoundFont preset iteration method.
sfont | Virtual SoundFont |
Starts/re-starts virtual preset iteration in a SoundFont.
Referenced by fluid_ramsfont_create_sfont().
int(* _fluid_sfont_t::iteration_next)(fluid_sfont_t *sfont, fluid_preset_t *preset) |
Virtual SoundFont preset iteration function.
sfont | Virtual SoundFont | |
preset | Caller supplied preset to fill in with current preset information |
Should store preset information to the caller supplied preset structure and advance the internal iteration state to the next preset for subsequent calls.
Referenced by fluid_ramsfont_create_sfont().