Retrieves a channel's sample rate.
|input||Dealing with an input channel? FALSE = an output channel.
|channel||The input/output channel number... 0 = first.
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.
|BASS_ERROR_INIT||BASS_ASIO_Init has not been successfully called.
|BASS_ERROR_ILLPARAM||The input and channel combination is invalid.