MG711DecoderIntfc Class Reference

class MG711DecoderIntfc

This class provides an interface to the G711 decoder CMMFHwDevice in order to provide additional configuration information.

Member Functions Documentation

GetComfortNoiseGeneration(TBool &)

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.

Parameters

TBool & aCng ETrue = Comfort Noise Generation enabled; EFalse = Comfort Noise Generation disabled

GetDecoderMode(TDecodeMode &)

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.

Parameters

TDecodeMode & aDecodeMode the decode mode.

GetPacketLossConcealment(TBool &)

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.

Parameters

TBool & aPlc ETrue = packet loss concealment enabled; EFalse = packet loss concealment disabled

SetComfortNoiseGeneration(TBool)

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.

Parameters

TBool aCng ETrue = Comfort Noise Generation enabled; EFalse = Comfort Noise Generation disabled

SetDecoderMode(TDecodeMode)

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.

Parameters

TDecodeMode aDecodeMode the decode mode.

SetPacketLossConcealment(TBool)

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.

Parameters

TBool aPlc ETrue = plc enabled; EFalse = plc disabled

Member Enumerations Documentation

Enum TDecodeMode

The Decoder mode

Enumerators

EDecALaw

DecALaw

EDecULaw

DecULaw