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

Member Functions Documentation

GetBitrate(TUint &)

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

Parameters

TUint & aBitrate returns current encode bitrate.

GetSupportedBitrates(RArray< TUint > &)

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

Parameters

RArray < TUint > & aSupportedBitrates array returning the supported bitrates.

GetVadMode(TBool &)

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

Parameters

TBool & aVadMode returns 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 TInt SetBitrate ( TUint aBitrate ) [pure virtual]
Sets the bitrate for encoding.
Since
S60 3.0

Parameters

TUint aBitrate requested encoding bitrate.

SetVadMode(TBool)

IMPORT_C TInt SetVadMode ( TBool aVadMode ) [pure virtual]
Enables and disables the voice activity (VAD) mode.
Since
S60 3.0

Parameters

TBool aVadMode requested VAD mode.