Sets a channel's sample format.
BOOL BASS_ASIO_ChannelSetFormat( BOOL input, DWORD channel, DWORD format );
|input||Dealing with an input channel? FALSE = an output channel.|
|channel||The input/output channel number... 0 = first.|
|format||The sample format. One of the following.
|BASS_ERROR_INIT||BASS_ASIO_Init has not been successfully called.|
|BASS_ERROR_ILLPARAM||The input and channel combination is invalid, or format is.|
|BASS_ERROR_FORMAT||Format conversion is not available for the channel's native sample format (please report).|
The PCM format options are only available when the device's format is PCM, and the DSD format options are only available when the device's format is DSD. If a device supports both, it can be switched between DSD and PCM via BASS_ASIO_SetDSD.
For performance reasons, it is best not to use 24-bit sample data whenever possible, as 24-bit data requires a bit more processing than the other formats.
BASS_ASIO_ChannelSetFormat(FALSE, 0, BASS_ASIO_FORMAT_FLOAT);