BASS.NET API for the Un4seen BASS Audio Library

BassMidiBASS_MIDI_StreamGetFonts Method (Int32)

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.17.5
Syntax

public static BASS_MIDI_FONT[] BASS_MIDI_StreamGetFonts(
	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_FONT
An array of BASS_MIDI_FONT 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

BASS_MIDI_FONT[] fonts = BassMidi.BASS_MIDI_StreamGetFonts(_stream);
See Also

Reference