class MG711EncoderIntfc |
This class provides an interface to the G711 encoder CMMFHwDevice in order to provide additional configuration information.
Public Member Functions | |
---|---|
TInt | GetVadMode ( TBool &) |
TInt | SetEncoderMode ( TEncodeMode ) |
TInt | SetVadMode ( TBool ) |
Public Member Enumerations | |
---|---|
enum | TEncodeMode { EEncALaw , EEncULaw } |
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 | 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.
TEncodeMode aEncodeMode | the encode mode. |
TInt | SetVadMode | ( | TBool | aVadModeOn | ) | [pure virtual] |
Controls voice activity detection (VAD) mode.
This method can be called at all times.
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.