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: BooleanIf succesful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not a valid channel. |
BASS_ERROR_NOTAVAIL | Device streams (STREAMPROC_DEVICE) cannot be freed. |
See Also