MG711EncoderIntfc Class Reference

class MG711EncoderIntfc

This class provides an interface to the G711 encoder CMMFHwDevice in order to provide additional configuration information.

Member Functions Documentation

GetVadMode(TBool &)

TInt GetVadMode ( TBool & aVadModeOn ) [pure virtual]

Gets the current state of the voice activity detection (VAD) mode.

This method can be called at all times - while actively encoding or not.

Parameters

TBool & aVadModeOn On output ETrue=On, EFalse=Off

SetEncoderMode(TEncodeMode)

TInt SetEncoderMode ( TEncodeMode aEncodeMode ) [pure virtual]

Configures the encoder's encoding format.

This method can be called when decoding is not active - anytime before started or after stopped.

Parameters

TEncodeMode aEncodeMode the encode mode.

SetVadMode(TBool)

TInt SetVadMode ( TBool aVadModeOn ) [pure virtual]

Controls voice activity detection (VAD) mode.

This method can be called at all times.

Parameters

TBool aVadModeOn ETrue=On, EFalse=Off

Member Enumerations Documentation

Enum TEncodeMode

The encoder mode

Enumerators

EEncALaw

EncALaw

EEncULaw

EncULaw