BASS.NET API for the Un4seen BASS Audio Library

BaseEncoderPause Method

BASS.NET API for the Un4seen BASS Audio Library
Pauses or resumes an encoder.

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

public virtual bool Pause(
	bool paused
)

Parameters

paused
Type: SystemBoolean
= pause the encoder, = resume the encoder.

Return Value

Type: Boolean
Returns , if the encoder was successfully paused/resumed - else must be returned and an EncoderHandle must stay as before.

Implements

IBaseEncoderPause(Boolean)
Remarks

After the encoder was paused/resumed successfully the EncoderHandle must still return a valid HENCODE handle (non-zero).

The default imlementation of this method calls BASS_Encode_SetPaused(Int32, Boolean) accordingly using the EncoderHandle. So normally there is no need to override this method.

See Also

Reference