BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_ChannelGetInfo Method (Int32)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 BASS_CHANNELINFO BASS_ChannelGetInfo(
	int handle
)

Parameters

handle
Type: SystemInt32
The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.

Return Value

Type: BASS_CHANNELINFO
An instance of the BASS_CHANNELINFO class on success - else .
Remarks

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

Examples

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

Reference