Retrieves the presets in 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 handle to get the preset name from.
Return Value
Type: Int32If successful, an array of presets is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
The presets are delivered with the preset number in the LOWORD and the bank number in the HIWORD, and in numerically ascending order.
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not valid. |
See Also