CSpeechEncoderConfig Class Reference

class CSpeechEncoderConfig : public CBase

Interface for configuring speech encoders. Used to configure the speech encoders operting modes. This abstract class just provides the static NewL function for the creation of the proxy, and also defines the custom interface to be implemented by the proxy and the real custom interface implementation.

SpeechEncoderConfig.lib
Since
S60 3.0

Inherits from

  • CSpeechEncoderConfig

Member Functions Documentation

GetBitrate(TUint &)

IMPORT_C TIntGetBitrate(TUint &aBitrate)[pure virtual]
Retrieves the current encode bitrate.
Since
S60 3.0

Parameters

TUint & aBitratereturns current encode bitrate.

GetSupportedBitrates(RArray< TUint > &)

IMPORT_C TIntGetSupportedBitrates(RArray< TUint > &aSupportedBitrates)[pure virtual]
Retrieves the bitrates supported by the encoder.
Since
S60 3.0

Parameters

RArray< TUint > & aSupportedBitratesarray returning the supported bitrates.

GetVadMode(TBool &)

IMPORT_C TIntGetVadMode(TBool &aVadMode)[pure virtual]
Retrieves the current state of VAD mode.
Since
S60 3.0

Parameters

TBool & aVadModereturns current VAD mode.

NewL(CMMFDevSound &)

IMPORT_C CSpeechEncoderConfig *NewL(CMMFDevSound &aDevSound)[static]

Creates the interface.

Parameters

CMMFDevSound & aDevSound

NewL(CMdaAudioInputStream &)

IMPORT_C CSpeechEncoderConfig *NewL(CMdaAudioInputStream &aUtility)[static]

Creates the interface.

Parameters

CMdaAudioInputStream & aUtility

SetBitrate(TUint)

IMPORT_C TIntSetBitrate(TUintaBitrate)[pure virtual]
Sets the bitrate for encoding.
Since
S60 3.0

Parameters

TUint aBitraterequested encoding bitrate.

SetVadMode(TBool)

IMPORT_C TIntSetVadMode(TBoolaVadMode)[pure virtual]
Enables and disables the voice activity (VAD) mode.
Since
S60 3.0

Parameters

TBool aVadModerequested VAD mode.