MIlbcEncoderIntfc Class Reference

class MIlbcEncoderIntfc

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

Member Functions Documentation

GetEncoderMode(TEncodeMode &)

TInt GetEncoderMode(TEncodeMode &aEncodeMode)[pure virtual]

Gets the encoder's current encoding format.

This method is allowable when encoding is not active - anytime before started or after stopped.

Parameters

TEncodeMode & aEncodeMode

GetVadMode(TBool &)

TInt GetVadMode(TBool &aVadModeOn)[pure virtual]

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

This method is allowable at all times - while actively encoding or not.

Parameters

TBool & aVadModeOnOn output ETrue=On, EFalse=Off

SetEncoderMode(TEncodeMode)

TInt SetEncoderMode(TEncodeModeaEncodeMode)[pure virtual]

Configures the encoder's encoding format.

This method is allowable when encoding is not active - anytime before started or after stopped.

Parameters

TEncodeMode aEncodeModethe encode mode.

SetVadMode(TBool)

TInt SetVadMode(TBoolaVadModeOn)[pure virtual]

Controls voice activity detection (VAD) mode.

This method is allowable at all times - while actively encoding or not.

Parameters

TBool aVadModeOnETrue=On, EFalse=Off

Member Enumerations Documentation

Enum TEncodeMode

The Ibc encoder mode

Enumerators

E20msFrame

20msFrame

E30msFrame

30msFrame