BASS.NET API for the Un4seen BASS Audio Library

BassBASS_ChannelFree Method

BASS.NET API for the Un4seen BASS Audio Library
Frees a sample stream's resources, including any sync/DSP/FX it has.

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

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

Parameters

handle
Type: SystemInt32
The stream handle.

Return Value

Type: Boolean
If succesful, then 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_NOTAVAILDevice streams (STREAMPROC_DEVICE) cannot be freed.

See Also

Reference