BASS_ASIO_ChannelIsActive

Checks if a channel is enabled for processing.

DWORD BASS_ASIO_ChannelIsActive(
    BOOL input,
    DWORD channel
);

Parameters

inputDealing with an input channel? FALSE = an output channel.
channelThe input/output channel number... 0 = first.

Return value

The return value is one of the following.
BASS_ASIO_ACTIVE_DISABLEDThe channel is not enabled.
BASS_ASIO_ACTIVE_ENABLEDThe channel is enabled.
BASS_ASIO_ACTIVE_PAUSEDThe channel is enabled and paused.

Remarks

When a channel is joined to another, the status of the other channel is returned, as that is what determines whether the channel is enabled for processing.

See also

BASS_ASIO_ChannelEnable, BASS_ASIO_ChannelGetLevel, BASS_ASIO_ChannelJoin, BASS_ASIO_ChannelPause, BASS_ASIO_IsStarted