Sets the device's sample format to DSD or PCM.

    BOOL dsd


dsdSet the sample format to DSD?

Return value

If successful, 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_NOTAVAILDSD is not supported by the device/driver.
BASS_ERROR_UNKNOWNSome other mystery problem!


When a device is switched between PCM and DSD formats, the ASIO channels' format will change accordingly, as reported by BASS_ASIO_ChannelGetInfo. Any BASS_ASIO_ChannelSetFormat and BASS_ASIO_ChannelSetRate settings that have been applied will be reset to defaults. Other channel settings are unchanged.

See also

BASS_ASIO_ChannelGetInfo, BASS_ASIO_ChannelSetFormat