BASS_ASIO_GetRate

Retrieves the device's sample rate.

double BASS_ASIO_GetRate();

Return value

If successful, the sample rate is returned, else -1 is returned. Use BASS_ASIO_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_INITBASS_ASIO_Init has not been successfully called.

See also

BASS_ASIO_ChannelGetRate, BASS_ASIO_SetNotify, BASS_ASIO_SetRate