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

Member Functions Documentation

ApplyConfig()

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

GetAudioObjectType(TAudioObjectType &)

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

Parameters

TAudioObjectType & aAudioObjectType

GetDownSampledMode(TBool &)

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

Parameters

TBool & aDsmEnabled

GetInputSamplingFrequency(TUint &)

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

Parameters

TUint & aInputSamplingFrequency

GetNumOfChannels(TUint &)

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

Parameters

TUint & aNumOfChannels

GetSbr(TBool &)

IMPORT_C TInt GetSbr ( 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 void SetAudioObjectType ( TAudioObjectType aAudioObjectType ) [pure virtual]
Configures decoder's profile defined by TAudioObjectType.
Since
S60 3.0

Parameters

TAudioObjectType aAudioObjectType

SetDownSampledMode(TBool)

IMPORT_C void SetDownSampledMode ( TBool aDsmEnabled ) [pure virtual]
Configures decoder's down-sampled mode (DSM).
Since
S60 3.0

Parameters

TBool aDsmEnabled

SetInputSamplingFrequency(TUint)

IMPORT_C void SetInputSamplingFrequency ( TUint aInputSamplingFrequency ) [pure virtual]
Configures decoder's input sampling frequency.
Since
S60 3.0

Parameters

TUint aInputSamplingFrequency

SetNumOfChannels(TUint)

IMPORT_C void SetNumOfChannels ( TUint aNumOfChannels ) [pure virtual]
Configures the number of channels to be used by the decoder.
Since
S60 3.0

Parameters

TUint aNumOfChannels

SetSbr(TBool)

IMPORT_C void SetSbr ( TBool aSbrEnabled ) [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