Unloads presets from a soundfont.
BOOL BASS_MIDI_FontUnload(
HSOUNDFONT handle,
int preset,
int bank
);
| handle | The soundfont handle. |
| preset | Preset number to unload... -1 = all presets. |
| bank | Bank number to unload... -1 = all banks. |
| BASS_ERROR_HANDLE | handle is not valid. |
| BASS_ERROR_NOTAVAIL | The soundfont does not contain the specified preset, or the soundfont is memory mapped. |
It is possible to partially unload presets with BASS_MIDI_FontLoadEx.