MSpeechEncoderConfig Class Reference

class MSpeechEncoderConfig

This class provides an interface to those CMMFHwDevices providing speech encoding. This interface is used for querying and configuring the operational modes of speech encoders as supported by those specific encoders. If a speech encoder does not support a mode provided by the interface, it will return KErrNotSupported.

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

SetVadMode(TBool)

TInt SetVadMode ( TBool aVadModeOn ) [pure virtual]

Controls voice activity detection (VAD) mode. This method can be called at all times - while actively encoding or not. It should be noted that a VAD mode change could also instigate a change in the mode of encoding (fixed rate encoding versus variable rate) e.g. in cases where VAD requires variable rate encoding. The effects of activating VAD mode behaviour should be documented in the CMMFHwDevice specification implementing it.

Parameters

TBool aVadModeOn ETrue=On, EFalse=Off