SoundFont loader structure.
More...
|
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. More...
|
|
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). More...
|
|
SoundFont loader structure.
◆ free
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
◆ load
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: