CG711EncoderIntfc Class Reference

class CG711EncoderIntfc : public CBase

Interface for G711 encoder. This abstract class just provides the static NewL function for the creation of the proxy, and also defines the custom interface to be implemented by the proxy and the real custom interface implementation.

G711EncoderIntfc.lib
Since
S60 3.0

Inherits from

Member Functions Documentation

GetVadMode(TBool &)

IMPORT_C TIntGetVadMode(TBool &aVadMode)[pure virtual]
Retrieves the current state of VAD mode.
Since
S60 3.0

Parameters

TBool & aVadModereturns current VAD mode.

NewL(CMMFDevSound &)

IMPORT_C CG711EncoderIntfc *NewL(CMMFDevSound &aDevSound)[static]

Creates the interface.

Parameters

CMMFDevSound & aDevSound

NewL(CMdaAudioInputStream &)

IMPORT_C CG711EncoderIntfc *NewL(CMdaAudioInputStream &aUtility)[static]

Creates the interface.

Parameters

CMdaAudioInputStream & aUtility

SetEncoderMode(TEncodeMode)

IMPORT_C TIntSetEncoderMode(TEncodeModeaEncodeMode)[pure virtual]
Used to change the encoding mode.
Since
S60 3.0

Parameters

TEncodeMode aEncodeModerequested encode mode.

SetVadMode(TBool)

IMPORT_C TIntSetVadMode(TBoolaVadMode)[pure virtual]
Enables and disables the voice activity (VAD) mode.
Since
S60 3.0

Parameters

TBool aVadModerequested VAD mode.

Member Enumerations Documentation

Enum TEncodeMode

Enumerators

EEncALaw
EEncULaw