BASS.NET API for the Un4seen BASS Audio LibraryBassMidiBASS_MIDI_StreamGetFontsEx Method BASS.NET API for the Un4seen BASS Audio Library
Retrieves the soundfont configuration of a MIDI stream, or the default soundfont configuration.

Namespace: Un4seen.Bass.AddOn.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static BASS_MIDI_FONTEX[] BASS_MIDI_StreamGetFontsEx(
	int handle
)

Parameters

handle
Type: SystemInt32
The MIDI stream to retrieve the soundfont configuration of... 0 = get default soundfont configuration.

Return Value

Type: BASS_MIDI_FONTEX
An array of BASS_MIDI_FONTEX configuration entries if successfull - or on error.
Remarks

This overload will always return all used soundfont configuration objects.

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

Examples

VB
Dim fonts As BASS_MIDI_FONTEX() = BassMidi.BASS_MIDI_StreamGetFontsEx(_stream)
BASS_MIDI_FONTEX[] fonts = BassMidi.BASS_MIDI_StreamGetFontsEx(_stream);
See Also

Reference