BASS_ASIO_ChannelSetFormat
Retrieves a channel's sample format.
DWORD BASS_ASIO_ChannelGetFormat(
BOOL input,
DWORD channel
);
Parameters
input | Dealing with an input channel? FALSE = an output channel.
|
channel | The input/output channel number... 0 = first.
|
Return value
If an error occurs, -1 is returned, use BASS_ASIO_ErrorGetCode to get the error code. If successful, one of the following is returned.
BASS_ASIO_FORMAT_16BIT | 16-bit integer.
|
BASS_ASIO_FORMAT_24BIT | 24-bit integer.
|
BASS_ASIO_FORMAT_32BIT | 32-bit integer.
|
BASS_ASIO_FORMAT_FLOAT | 32-bit floating-point.
|
BASS_ASIO_FORMAT_DSD_LSB | DSD with LSB first.
|
BASS_ASIO_FORMAT_DSD_MSB | DSD with MSB first.
|
Error codes
BASS_ERROR_INIT | BASS_ASIO_Init has not been successfully called.
|
BASS_ERROR_ILLPARAM | The input and channel combination is invalid.
|
See also
BASS_ASIO_ChannelSetFormat, BASS_ASIO_ChannelGetInfo, ASIOPROC callback