BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_ChannelRemoveLink Method BASS.NET API for the Un4seen BASS Audio Library
Removes a links between two MOD music or stream channels.

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

[DllImportAttribute("bass.dll", CharSet = CharSet.Unicode)]
public static bool BASS_ChannelRemoveLink(
	int handle,
	int chan
)

Parameters

handle
Type: SystemInt32
The channel handle... a HMUSIC or HSTREAM.
chan
Type: SystemInt32
The handle of the channel to have unlinked with it... a HMUSIC or HSTREAM.

Return Value

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

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not a valid channel.
BASS_ERROR_ALREADYEither chan is not a valid channel, or it is already not linked to handle.

See Also

Reference