BASS_ASIO_ChannelGetRate
Retrieves a channel's sample rate.
double BASS_ASIO_ChannelGetRate(
BOOL input,
DWORD channel
);
Parameters
input | Dealing with an input channel? FALSE = an output channel.
|
channel | The input/output channel number... 0 = first.
|
Return value
If successful, the channel's sample rate is returned (0 = device rate), 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_ChannelSetRate, BASS_ASIO_GetRate