BASS_ASIO_ChannelGetInfo

Retrieves information on a channel.

BOOL BASS_ASIO_ChannelGetInfo(
    BOOL input,
    DWORD channel,
    BASS_ASIO_CHANNELINFO *info
);

Parameters

inputDealing with an input channel? FALSE = an output channel.
channelThe input/output channel number... 0 = first.
infoPointer to a structure to receive the information.

Return value

If successful, 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_ILLPARAMThe input and channel combination is invalid.

See also

BASS_ASIO_GetInfo, BASS_ASIO_ChannelGetRate, BASS_ASIO_CHANNELINFO structure