CEAacPlusDecoderIntfc Class Reference

class CEAacPlusDecoderIntfc : public CBase

Interface for sending configuration info to Enhanced AAC+ decoder. This abstract class just provides the static NewL function for the creation of the proxy. Also, it defines the APIs to be implemented by the proxy and the real custom interface implementation.

EAacPlusDecoderIntfc.lib
Since
S60 3.0

Inherits from

  • CEAacPlusDecoderIntfc

Member Functions Documentation

ApplyConfig()

IMPORT_C TIntApplyConfig()[pure virtual]
Commits configuration settings to the decoder.
Since
S60 3.0

GetAudioObjectType(TAudioObjectType &)

IMPORT_C TIntGetAudioObjectType(TAudioObjectType &aAudioObjectType)[pure virtual]
Returns decoder's AAC profile setting.
Since
S60 3.0

Parameters

TAudioObjectType & aAudioObjectType

GetDownSampledMode(TBool &)

IMPORT_C TIntGetDownSampledMode(TBool &aDsmEnabled)[pure virtual]
Returns decoder's DSM setting.
Since
S60 3.0

Parameters

TBool & aDsmEnabled

GetInputSamplingFrequency(TUint &)

IMPORT_C TIntGetInputSamplingFrequency(TUint &aInputSamplingFrequency)[pure virtual]
Returns decoder's input sampling frequency setting.
Since
S60 3.0

Parameters

TUint & aInputSamplingFrequency

GetNumOfChannels(TUint &)

IMPORT_C TIntGetNumOfChannels(TUint &aNumOfChannels)[pure virtual]
Returns decoder's channel setting.
Since
S60 3.0

Parameters

TUint & aNumOfChannels

GetSbr(TBool &)

IMPORT_C TIntGetSbr(TBool &aSbrEnabled)[pure virtual]
Returns decoder's SBR setting.
Since
S60 3.0

Parameters

TBool & aSbrEnabled

NewL(CMMFDevSound &)

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

Creates the interface.

CEAacPlusDecoderIntfc::NewL Creates the custom interface. Calls the custom interface method on the devsound passed in. Devsound will return the handle to the custom interface proxy. (other items were commented in a header).

Parameters

CMMFDevSound & aDevSound

NewL(CMdaAudioOutputStream &)

IMPORT_C CEAacPlusDecoderIntfc *NewL(CMdaAudioOutputStream &aUtility)[static]

Creates the interface.

CEAacPlusDecoderIntfc::NewL Creates the custom interface. Calls the custom interface method on the CMdaAudioOutputStream passed in. The CMdaAudioOutputStream utility will return the handle to the custom interface proxy. (other items were commented in a header).

Parameters

CMdaAudioOutputStream & aUtility

SetAudioObjectType(TAudioObjectType)

IMPORT_C voidSetAudioObjectType(TAudioObjectTypeaAudioObjectType)[pure virtual]
Configures decoder's profile defined by TAudioObjectType.
Since
S60 3.0

Parameters

TAudioObjectType aAudioObjectType

SetDownSampledMode(TBool)

IMPORT_C voidSetDownSampledMode(TBoolaDsmEnabled)[pure virtual]
Configures decoder's down-sampled mode (DSM).
Since
S60 3.0

Parameters

TBool aDsmEnabled

SetInputSamplingFrequency(TUint)

IMPORT_C voidSetInputSamplingFrequency(TUintaInputSamplingFrequency)[pure virtual]
Configures decoder's input sampling frequency.
Since
S60 3.0

Parameters

TUint aInputSamplingFrequency

SetNumOfChannels(TUint)

IMPORT_C voidSetNumOfChannels(TUintaNumOfChannels)[pure virtual]
Configures the number of channels to be used by the decoder.
Since
S60 3.0

Parameters

TUint aNumOfChannels

SetSbr(TBool)

IMPORT_C voidSetSbr(TBoolaSbrEnabled)[pure virtual]
Configures decoder's spectral bandwidth replication (SBR).
Since
S60 3.0

Parameters

TBool aSbrEnabled

Member Enumerations Documentation

Enum TAudioObjectType

Enumerators

ENull = 0
EAacLc = 2
EAacLtp = 4