Retrieves information on a soundfont.
Namespace: Un4seen.Bass.AddOn.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- handle
- Type: SystemInt32
The soundfont to get info on (e.g. as returned by BASS_MIDI_FontInit(String, BASSFlag)). - info
- Type: Un4seen.Bass.AddOn.MidiBASS_MIDI_FONTINFO
An instance of the BASS_MIDI_FONTINFO class to store the information at.
Return Value
Type: BooleanIf successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not valid. |
Examples
int font1 = BassMidi.BASS_MIDI_FontInit("afont.sf2"); BASS_MIDI_FONTINFO fontInfo = new BASS_MIDI_FONTINFO(); BassMidi.BASS_MIDI_FontGetInfo(font1, fontInfo); Console.WriteLine( fontInfo.ToString() );
See Also