Unknown
From BASS MIDI
BASS_MIDI_FontUnload
Unloads presets from a soundfont.
BOOL BASS_MIDI_FontUnload(
HSOUNDFONT handle,
int preset,
int bank
);
Parameters
| handle | The soundfont handle. |
| preset | Preset number to unload... -1 = all presets. |
| bank | Bank number to unload... -1 = all banks. |
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.Error codes
| BASS_ERROR_HANDLE | handle is not valid. |
| BASS_ERROR_NOTAVAIL | The soundfont does not contain the specified preset, or the soundfont is memory mapped. |