Automatically compact all soundfonts following a configuration change?
BASS_SetConfig( BASS_CONFIG_MIDI_COMPACT, BOOL compact );
compact | If TRUE, all soundfonts are compacted following a MIDI stream being freed, or a BASS_MIDI_StreamSetFonts call. |
Samples that have been preloaded by BASS_MIDI_FontLoad or BASS_MIDI_FontLoadEx are not affected by automatic compacting. Other samples that have been preloaded by BASS_MIDI_StreamLoadSamples are affected though, so it is probably wise to disable this option when using that function.
By default, this option is enabled.