BASS.NET API for the Un4seen BASS Audio LibraryBassAsioBASS_ASIO_ChannelGetInfo Method (Boolean, Int32)BASS.NET API for the Un4seen BASS Audio Library
Retrieves information on an Asio channel.

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

public static BASS_ASIO_CHANNELINFO BASS_ASIO_ChannelGetInfo(
	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: BASS_ASIO_CHANNELINFO
If successful, an instance of the BASS_ASIO_CHANNELINFO class is returned, else is returned. Use BASS_ASIO_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_INITBASS_ASIO_Init(Int32, BASSASIOInit) has not been successfully called.
BASS_ERROR_ILLPARAMThe input and channel combination is invalid.

Examples

Display the information of the first channel:
VB
Dim info As BASS_ASIO_CHANNELINFO = BassAsio.BASS_ASIO_ChannelGetInfo(False, 0)
If Not (info Is Nothing) Then
  Console.WriteLine(info.ToString())
End If
BASS_ASIO_CHANNELINFO info = BassAsio.BASS_ASIO_ChannelGetInfo(false, 0);
if (info != null)
{
  Console.WriteLine( info.ToString() );
}
See Also

Reference