BASS_ASIO_ChannelGetVolume
Retrieves a channel's volume setting.
float BASS_ASIO_ChannelGetVolume(
BOOL input,
int channel
);
Parameters
input | Dealing with an input channel? FALSE = an output channel.
|
channel | The 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_INIT | BASS_ASIO_Init has not been successfully called.
|
BASS_ERROR_ILLPARAM | The input and channel combination is invalid.
|
See also
BASS_ASIO_ChannelGetLevel, BASS_ASIO_ChannelSetVolume