BASS.NET API for the Un4seen BASS Audio Library

BassAsioBASS_ASIO_ChannelIsActive Method

BASS.NET API for the Un4seen BASS Audio Library
Checks if a channel is enabled for processing.

Namespace:  Un4seen.BassAsio
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("bassasio")]
public static BASSASIOActive BASS_ASIO_ChannelIsActive(
	bool input,
	int channel
)

Parameters

input
Type: SystemBoolean
Dealing with an input channel? = an output channel.
channel
Type: SystemInt32
The input/output channel number... 0 = first.

Return Value

Type: BASSASIOActive
The return value is one of the folowing (see BASSASIOActive):
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 - whether it's been enabled itself is of no consequence while it is joined to another. For example, if channel B is joined to channel A, and channel A is not enabled, then neither is channel B.
See Also

Reference