BASS MIDI

BASS_MIDI_FontGetVolume


Retrieves a soundfont's volume level.

float BASS_MIDI_FontGetVolume(
    HSOUNDFONT handle
);

Parameters

handleThe soundfont to get the volume of.

Return value

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

Error codes

BASS_ERROR_HANDLEhandle is not valid.

See also

BASS_MIDI_FontSetVolume