CEAacPlusDecoderIntfcProxy Class Reference

class CEAacPlusDecoderIntfcProxy : public CEAacPlusDecoderIntfc

Proxy for eAAC+ decoder configuration Custom Interface. This proxy translates the interface API calls to messages and sends them to the message handler.

EAacPlusDecoderIntfcProxy.lib
Since
S60 3.0

Inherits from

Public Member Functions
~CEAacPlusDecoderIntfcProxy()
IMPORT_C TIntApplyConfig()
IMPORT_C TIntGetAudioObjectType(TAudioObjectType &)
IMPORT_C TIntGetDownSampledMode(TBool &)
IMPORT_C TIntGetInputSamplingFrequency(TUint &)
IMPORT_C TIntGetNumOfChannels(TUint &)
IMPORT_C TIntGetSbr(TBool &)
IMPORT_C CEAacPlusDecoderIntfcProxy *NewL(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)
IMPORT_C voidSetAudioObjectType(TAudioObjectType)
IMPORT_C voidSetDownSampledMode(TBool)
IMPORT_C voidSetInputSamplingFrequency(TUint)
IMPORT_C voidSetNumOfChannels(TUint)
IMPORT_C voidSetSbr(TBool)
Private Member Functions
CEAacPlusDecoderIntfcProxy(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CEAacPlusDecoderIntfc::NewL(CMMFDevSound &)
CEAacPlusDecoderIntfc::NewL(CMdaAudioOutputStream &)
Inherited Enumerations
CEAacPlusDecoderIntfc:TAudioObjectType
Private Attributes
TAudioObjectType iAudioObjectType
TAudioObjectType iCurrentAudioObjectType
TBool iCurrentDsmEnabled
TUint iCurrentInputSamplingFrequency
TUint iCurrentNumOfChannels
TBool iCurrentSbrEnabled
MCustomCommand &iCustomCommand
CCustomInterfaceUtility *iCustomInterfaceUtility
TBool iDsmEnabled
TBool iHasBeenApplied
TUint iInputSamplingFrequency
TMMFMessageDestinationPckg iMessageHandler
TUint iNumOfChannels
TBool iSbrEnabled

Constructor & Destructor Documentation

CEAacPlusDecoderIntfcProxy(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)

CEAacPlusDecoderIntfcProxy(TMMFMessageDestinationPckgaMessageHandler,
MCustomCommand &aCustomCommand,
CCustomInterfaceUtility *aCustomInterfaceUtility
)[private]

C++ default constructor.

CEAacPlusDecoderIntfcProxy::CEAacPlusDecoderIntfcProxy C++ default constructor can NOT contain any code, that might leave.

Parameters

TMMFMessageDestinationPckg aMessageHandler
MCustomCommand & aCustomCommand
CCustomInterfaceUtility * aCustomInterfaceUtility

~CEAacPlusDecoderIntfcProxy()

IMPORT_C~CEAacPlusDecoderIntfcProxy()[virtual]

Destructor.

Destructor

Member Functions Documentation

ApplyConfig()

IMPORT_C TIntApplyConfig()[virtual]
Commits configuration settings to the decoder.
Since
S60 3.0
Applies configuration settings to the decoder. (other items defined in the header)

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

CEAacPlusDecoderIntfcProxy::ConstructL Symbian 2nd phase constructor can leave.

GetAudioObjectType(TAudioObjectType &)

IMPORT_C TIntGetAudioObjectType(TAudioObjectType &aAudioObjectType)[virtual]
Returns decoder's AAC profile setting.
Since
S60 3.0
Returns decoder's AAC profile settings. (other items defined in the header)

Parameters

TAudioObjectType & aAudioObjectType

GetDownSampledMode(TBool &)

IMPORT_C TIntGetDownSampledMode(TBool &aDsmEnabled)[virtual]
Returns decoder's DSM setting.
Since
S60 3.0
Returns decoder's DSM settings. (other items defined in the header)

Parameters

TBool & aDsmEnabled

GetInputSamplingFrequency(TUint &)

IMPORT_C TIntGetInputSamplingFrequency(TUint &aInputSamplingFrequency)[virtual]
Returns decoder's input sampling frequency setting.
Since
S60 3.0
Returns decoder's input sampling frequency settings. (other items defined in the header)

Parameters

TUint & aInputSamplingFrequency

GetNumOfChannels(TUint &)

IMPORT_C TIntGetNumOfChannels(TUint &aNumOfChannels)[virtual]
Returns decoder's channel setting.
Since
S60 3.0
Returns decoder's channel settings. (other items defined in the header)

Parameters

TUint & aNumOfChannels

GetSbr(TBool &)

IMPORT_C TIntGetSbr(TBool &aSbrEnabled)[virtual]
Returns decoder's SBR setting.
Since
S60 3.0
Returns decoder's SBR settings. (other items defined in the header)

Parameters

TBool & aSbrEnabled

NewL(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)

IMPORT_C CEAacPlusDecoderIntfcProxy *NewL(TMMFMessageDestinationPckgaMessageHandler,
MCustomCommand &aCustomCommand,
CCustomInterfaceUtility *aCustomInterfaceUtility
)[static]

Two-phased constructor.

CEAacPlusDecoderIntfcProxy::NewL Two-phased constructor.

Parameters

TMMFMessageDestinationPckg aMessageHandler
MCustomCommand & aCustomCommand
CCustomInterfaceUtility * aCustomInterfaceUtility

SetAudioObjectType(TAudioObjectType)

IMPORT_C voidSetAudioObjectType(TAudioObjectTypeaAudioObjectType)[virtual]
Configures decoder's profile defined by TAudioObjectType.
Since
S60 3.0
Configures decoder's profile defined by TAudioObjectType. (other items defined in the header)

Parameters

TAudioObjectType aAudioObjectType

SetDownSampledMode(TBool)

IMPORT_C voidSetDownSampledMode(TBoolaDsmEnabled)[virtual]
Configures decoder's down-sampled mode (DSM).
Since
S60 3.0
Configures decoder's DSM settings. (other items defined in the header)

Parameters

TBool aDsmEnabled

SetInputSamplingFrequency(TUint)

IMPORT_C voidSetInputSamplingFrequency(TUintaInputSamplingFrequency)[virtual]
Configures decoder's input sampling frequency.
Since
S60 3.0
Configures decoder's input sampling frequency. (other items defined in the header)

Parameters

TUint aInputSamplingFrequency

SetNumOfChannels(TUint)

IMPORT_C voidSetNumOfChannels(TUintaNumOfChannels)[virtual]
Configures the number of channels to be used by the decoder.
Since
S60 3.0
Configures decoder's channel settings. (other items defined in the header)

Parameters

TUint aNumOfChannels

SetSbr(TBool)

IMPORT_C voidSetSbr(TBoolaSbrEnabled)[virtual]
Configures decoder's spectral bandwidth replication (SBR).
Since
S60 3.0
Configures decoder's SBR settings. (other items defined in the header)

Parameters

TBool aSbrEnabled

Member Data Documentation

TAudioObjectType iAudioObjectType

TAudioObjectType iAudioObjectType[private]

TAudioObjectType iCurrentAudioObjectType

TAudioObjectType iCurrentAudioObjectType[private]

TBool iCurrentDsmEnabled

TBool iCurrentDsmEnabled[private]

TUint iCurrentInputSamplingFrequency

TUint iCurrentInputSamplingFrequency[private]

TUint iCurrentNumOfChannels

TUint iCurrentNumOfChannels[private]

TBool iCurrentSbrEnabled

TBool iCurrentSbrEnabled[private]

MCustomCommand & iCustomCommand

MCustomCommand &iCustomCommand[private]

CCustomInterfaceUtility * iCustomInterfaceUtility

CCustomInterfaceUtility *iCustomInterfaceUtility[private]

TBool iDsmEnabled

TBool iDsmEnabled[private]

TBool iHasBeenApplied

TBool iHasBeenApplied[private]

TUint iInputSamplingFrequency

TUint iInputSamplingFrequency[private]

TMMFMessageDestinationPckg iMessageHandler

TMMFMessageDestinationPckg iMessageHandler[private]

TUint iNumOfChannels

TUint iNumOfChannels[private]

TBool iSbrEnabled

TBool iSbrEnabled[private]