BASS.NET API for the Un4seen BASS Audio Library

BassEncBASS_Encode_Stop Method

BASS.NET API for the Un4seen BASS Audio Library
Stops encoding on a channel.

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

[DllImportAttribute("bassenc")]
public static bool BASS_Encode_Stop(
	int handle
)

Parameters

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

Return Value

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

This function will free an encoder immediately, without waiting for any data that may be remaining in the queue. BASS_Encode_StopEx(Int32, Boolean) can be used to have an encoder process the queue before it is freed.

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

See Also

Reference