Checks if a sample rate is supported by the device.
Namespace: Un4seen.BassAsio
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- rate
- Type: SystemDouble
The sample rate to check.
Return Value
Type: BooleanIf the sample rate is supported, then is returned, else is returned. Use BASS_ASIO_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_INIT | BASS_ASIO_Init(Int32, BASSASIOInit) has not been successfully called. |
BASS_ERROR_NOTAVAIL | The sample rate is not supported by the device/drivers. |
BASS_ERROR_UNKNOWN | Some other mystery problem! |
See Also