Retrieves a channel's volume setting.

float BASS_ASIO_ChannelGetVolume(
    BOOL input,
    int channel


inputDealing with an input channel? FALSE = an output channel.
channelThe input/output channel number... 0 = first, -1 = master.

Return value

If successful, the channel's volume setting is returned, else -1 is returned. Use BASS_ASIO_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_INITBASS_ASIO_Init has not been successfully called.
BASS_ERROR_ILLPARAMThe input and channel combination is invalid.

See also

BASS_ASIO_ChannelGetLevel, BASS_ASIO_ChannelSetVolume