MIlbcDecoderIntfc Class Reference

#include <mmf/server/devsoundstandardcustominterfaces.h>

Link against: tsu_mdf_omxvorbiscodecs.lib

class MIlbcDecoderIntfc
Public Member Enumerations
enumTDecodeMode { E20msFrame, E30msFrame }
Public Member Functions
pure virtual TInt GetComfortNoiseGeneration(TBool &)
pure virtual TInt SetComfortNoiseGeneration(TBool)
pure virtual TInt SetDecoderMode(TDecodeMode)

Detailed Description

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

Member Enumeration Documentation

Enum TDecodeMode

The Ibc decoder mode

EnumeratorValueDescription
E20msFrame

20msFrame

E30msFrame

30msFrame

Member Function Documentation

GetComfortNoiseGeneration ( TBool & )

TInt GetComfortNoiseGeneration(TBool &aCng)[pure virtual]

Used to find out if comfort noise generation is enabled or not.

This method is allowable when decoding is not active - anytime before started or after stopped.

ParameterDescription
aCngOn output ETrue = comfort noise generation enabled; EFalse = comfort noise generation disabled

Returns: KErrNone if successful. KErrInUse if this method is used when encoding is active. KErrNotSupported if this method is not implemented.

SetComfortNoiseGeneration ( TBool )

TInt SetComfortNoiseGeneration(TBoolaCng)[pure virtual]

Used to enable and disable the comfort noise generation capability.

This method is allowable when decoding is not active - anytime before started or after stopped.

ParameterDescription
aCngETrue = comfort noise generation enabled; EFalse = comfort noise generation disabled

Returns: KErrNone if successful. KErrInUse if this method is used when encoding is active. KErrNotSupported if this method is not implemented.

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.

ParameterDescription
aDecodeModethe decode mode.

Returns: KErrNone if successful. KErrInUse if this method is used when decoding is active. KErrNotSupported if this method is not implemented.