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 & aCngETrue = 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 & aDecodeModethe 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 & aPlcETrue = packet loss concealment enabled; EFalse = packet loss concealment disabled

SetComfortNoiseGeneration(TBool)

TInt SetComfortNoiseGeneration(TBoolaCng)[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 aCngETrue = Comfort Noise Generation enabled; EFalse = Comfort Noise Generation disabled

SetDecoderMode(TDecodeMode)

TInt SetDecoderMode(TDecodeModeaDecodeMode)[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 aDecodeModethe decode mode.

SetPacketLossConcealment(TBool)

TInt SetPacketLossConcealment(TBoolaPlc)[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 aPlcETrue = plc enabled; EFalse = plc disabled

Member Enumerations Documentation

Enum TDecodeMode

The Decoder mode

Enumerators

EDecALaw

DecALaw

EDecULaw

DecULaw