Used with BASS_MIDI_FontGetInfo to retrieve information on a soundfont.
typedef struct { char *name; char *copyright; char *comment; DWORD presets; DWORD samsize; DWORD samload; DWORD samtype; } BASS_MIDI_FONTINFO;
name | Name of the soundfont. |
copyright | Copyright notice. |
comment | Any comments. |
presets | The number of presets/instruments in the soundfont. |
samsize | The total size (in bytes) of the sample data in the soundfont. |
samload | The amount of sample data currently loaded... -1 = the soundfont is memory mapped. |
samtype | The BASS_CTYPE_STREAM_xxx format of the sample data if it is packed... -1 = unknown format (supporting BASS add-on not loaded), 0 = not packed. |
The total sample data memory usage across all soundfonts is available via the BASS_CONFIG_MIDI_SAMPLEMEM option.