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.
Public Member Functions | |
---|---|
TInt | GetVadMode ( TBool &) |
TInt | SetVadMode ( 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.
TBool & aVadModeOn | On output ETrue = On, EFalse = Off |
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.
TBool aVadModeOn | ETrue=On, EFalse=Off |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.