BASS.NET API for the Un4seen BASS Audio Library

BassMidiBASS_MIDI_FontGetVolume Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves a soundfont's volume level.

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

[DllImportAttribute("bassmidi")]
public static float BASS_MIDI_FontGetVolume(
	int handle
)

Parameters

handle
Type: SystemInt32
The soundfont to get the volume of.

Return Value

Type: Single
If successful, the soundfont's volume level is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

See Also

Reference