BASS.NET API for the Un4seen BASS Audio Library

BassBASS_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.17.5
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:
BASS_CHANNELINFO info = new BASS_CHANNELINFO();
Bass.BASS_ChannelGetInfo(_stream, info);
Console.WriteLine( info.ToString() );
See Also

Reference