MG729EncoderIntfc Class Reference

#include <mmf/server/devsoundstandardcustominterfaces.h>

class MG729EncoderIntfc
Public Member Functions
pure virtual TInt GetVadMode(TBool &)
pure virtual TInt SetVadMode(TBool)

Detailed Description

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

Member Function 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.

ParameterDescription
aVadModeOnOn output ETrue=On, EFalse=Off

Returns: KErrNone if successful. KErrNotSupported if this method is not implemented or VAD is not supported by the encoder.

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.

ParameterDescription
aVadModeOnETrue=On, EFalse=Off

Returns: KErrNone if successful. KErrNotSupported if this method is not implemented or not supported by the encoder.