BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_ChannelGetInfo Method (Int32, BASS_CHANNELINFO)BASS.NET API for the Un4seen BASS Audio Library
Retrieves information on a channel.

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

public static bool BASS_ChannelGetInfo(
	int handle,
	BASS_CHANNELINFO info
)

Parameters

handle
Type: SystemInt32
The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.
info
Type: Un4seen.BassBASS_CHANNELINFO
BASS_CHANNELINFO instance where to store the channel information at.

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

Examples

Getting the channel info:
VB
Dim info As New BASS_CHANNELINFO()
Bass.BASS_ChannelGetInfo(_stream, info)
Console.WriteLine(info.ToString())
BASS_CHANNELINFO info = new BASS_CHANNELINFO();
Bass.BASS_ChannelGetInfo(_stream, info);
Console.WriteLine( info.ToString() );
See Also

Reference