class MG711DecoderIntfc |
This class provides an interface to the G711 decoder CMMFHwDevice in order to provide additional configuration information.
Public Member Functions | |
---|---|
TInt | GetComfortNoiseGeneration ( TBool &) |
TInt | GetDecoderMode ( TDecodeMode &) |
TInt | GetPacketLossConcealment ( TBool &) |
TInt | SetComfortNoiseGeneration ( TBool ) |
TInt | SetDecoderMode ( TDecodeMode ) |
TInt | SetPacketLossConcealment ( TBool ) |
Public Member Enumerations | |
---|---|
enum | TDecodeMode { EDecALaw , EDecULaw } |
TInt | GetComfortNoiseGeneration | ( | TBool & | aCng | ) | [pure virtual] |
Used to find out if comfort noise generation is enabled or not.
This method can be called when decoding is not active - anytime before started or after stopped.
TBool & aCng | ETrue = Comfort Noise Generation enabled; EFalse = Comfort Noise Generation disabled |
TInt | GetDecoderMode | ( | TDecodeMode & | aDecodeMode | ) | [pure virtual] |
Queries the decoder of the encoded data format that has been active.
This method can be called at all times.
TDecodeMode & aDecodeMode | the decode mode. |
TInt | GetPacketLossConcealment | ( | TBool & | aPlc | ) | [pure virtual] |
Used to find out if packet loss concealment capability is enabled or not.
This method can be called when decoding is not active - anytime before started or after stopped.
TBool & aPlc | ETrue = packet loss concealment enabled; EFalse = packet loss concealment disabled |
TInt | SetComfortNoiseGeneration | ( | TBool | aCng | ) | [pure virtual] |
Used to enable and disable the comfort noise generation capability.
This method can be called when decoding is not active - anytime before started or after stopped.
TBool aCng | ETrue = Comfort Noise Generation enabled; EFalse = Comfort Noise Generation disabled |
TInt | SetDecoderMode | ( | TDecodeMode | aDecodeMode | ) | [pure virtual] |
Informs the decoder of the encoded data format that will be sent to it.
This method can be called when decoding is not active - anytime before started or after stopped.
TDecodeMode aDecodeMode | the decode mode. |
TInt | SetPacketLossConcealment | ( | TBool | aPlc | ) | [pure virtual] |
Used to enable and disable the packet loss concealment capability.
This can be called when decoding is not active - anytime before started or after stopped.
TBool aPlc | ETrue = plc enabled; EFalse = plc disabled |
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.