BASS_ASIO_CheckRate

Checks if a sample rate is supported by the device.

BOOL BASS_ASIO_CheckRate(
    double rate
);

Parameters

rateThe sample rate.

Return value

If the sample rate is supported, then TRUE is returned, else FALSE 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_NOTAVAILThe sample rate is not supported by the device/drivers.
BASS_ERROR_UNKNOWNSome other mystery problem!

See also

BASS_ASIO_SetRate, BASS_ASIO_GetRate