#include <mmf/server/devsoundstandardcustominterfaces.h>
class MIlbcDecoderIntfc |
Public Member Enumerations | |
---|---|
enum | TDecodeMode { E20msFrame, E30msFrame } |
Public Member Functions | |
---|---|
pure virtual TInt | GetComfortNoiseGeneration(TBool &) |
pure virtual TInt | SetComfortNoiseGeneration(TBool) |
pure virtual TInt | SetDecoderMode(TDecodeMode) |
This class provides an interface to the Ilbc decoder CMMFHwDevice in order to provide additional configuration information.
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.
Parameter | Description |
---|---|
aCng | On 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.
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.
Parameter | Description |
---|---|
aCng | 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.
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.
Parameter | Description |
---|---|
aDecodeMode | the decode mode. |
Returns: KErrNone if successful. KErrInUse if this method is used when decoding is active. KErrNotSupported if this method is not implemented.