BASS.NET API for the Un4seen BASS Audio Library

BaseEncoderStop Method

BASS.NET API for the Un4seen BASS Audio Library
Stops the encoder immediately (if started).

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

public virtual bool Stop()

Return Value

Type: Boolean
Returns , if the encoder was successfully stopped - else is returned.

Implements

IBaseEncoderStop
Remarks

Internally BASS_Encode_Stop(Int32) is called using the EncoderHandle. After the encoder was stopped successfully the EncoderHandle is set to 0 (zero). If the encoder was not stopped the EncoderHandle is left unchanged.

If an encoder stops running prematurely, Stop should still be called to release resources that were allocated for the encoding.

See Also

Reference