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 TInt GetVadMode ( TBool & aVadMode ) [pure virtual]
Retrieves the current state of VAD mode.
Since
S60 3.0

Parameters

TBool & aVadMode returns 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 TInt SetEncoderMode ( TEncodeMode aEncodeMode ) [pure virtual]
Used to change the encoding mode.
Since
S60 3.0

Parameters

TEncodeMode aEncodeMode requested encode mode.

SetVadMode(TBool)

IMPORT_C TInt SetVadMode ( TBool aVadMode ) [pure virtual]
Enables and disables the voice activity (VAD) mode.
Since
S60 3.0

Parameters

TBool aVadMode requested VAD mode.

Member Enumerations Documentation

Enum TEncodeMode

Enumerators

EEncALaw
EEncULaw