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
-
- Returns
- Should return 0 if no error occured, non-zero otherwise
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: