Virtual SoundFont instance structure.
More...
Detailed Description
Virtual SoundFont instance structure.
Field Documentation
Method to free a virtual SoundFont bank.
- Parameters:
-
| sfont | Virtual SoundFont to free. |
- Returns:
- Should return 0 when it was able to free all resources or non-zero if some of the samples could not be freed because they are still in use, in which case the free will be tried again later, until success.
Method to return the name of a virtual SoundFont.
- Parameters:
-
- Returns:
- The name of the virtual SoundFont.
Get a virtual SoundFont preset by bank and program numbers.
- Parameters:
-
| sfont | Virtual SoundFont |
| bank | MIDI bank number (0-16384) |
| prenum | MIDI preset number (0-127) |
- Returns:
- Should return an allocated virtual preset or NULL if it could not be found.
Start virtual SoundFont preset iteration method.
- Parameters:
-
Starts/re-starts virtual preset iteration in a SoundFont.
Virtual SoundFont preset iteration function.
- Parameters:
-
| sfont | Virtual SoundFont |
| preset | Caller supplied preset to fill in with current preset information |
- Returns:
- 0 when no more presets are available, 1 otherwise
Should store preset information to the caller supplied preset structure and advance the internal iteration state to the next preset for subsequent calls.
The documentation for this struct was generated from the following file: