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 TInt ApplyConfig ()
IMPORT_C TInt GetAudioObjectType ( TAudioObjectType &)
IMPORT_C TInt GetDownSampledMode ( TBool &)
IMPORT_C TInt GetInputSamplingFrequency ( TUint &)
IMPORT_C TInt GetNumOfChannels ( TUint &)
IMPORT_C TInt GetSbr ( TBool &)
IMPORT_C CEAacPlusDecoderIntfcProxy * NewL ( TMMFMessageDestinationPckg , MCustomCommand &, CCustomInterfaceUtility *)
IMPORT_C void SetAudioObjectType ( TAudioObjectType )
IMPORT_C void SetDownSampledMode ( TBool )
IMPORT_C void SetInputSamplingFrequency ( TUint )
IMPORT_C void SetNumOfChannels ( TUint )
IMPORT_C void SetSbr ( TBool )
Private Member Functions
CEAacPlusDecoderIntfcProxy ( TMMFMessageDestinationPckg , MCustomCommand &, CCustomInterfaceUtility *)
void ConstructL ()
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 ( TMMFMessageDestinationPckg aMessageHandler,
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 TInt ApplyConfig ( ) [virtual]
Commits configuration settings to the decoder.
Since
S60 3.0
Applies configuration settings to the decoder. (other items defined in the header)

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

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

GetAudioObjectType(TAudioObjectType &)

IMPORT_C TInt GetAudioObjectType ( 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 TInt GetDownSampledMode ( 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 TInt GetInputSamplingFrequency ( 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 TInt GetNumOfChannels ( 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 TInt GetSbr ( 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 ( TMMFMessageDestinationPckg aMessageHandler,
MCustomCommand & aCustomCommand,
CCustomInterfaceUtility * aCustomInterfaceUtility
) [static]

Two-phased constructor.

CEAacPlusDecoderIntfcProxy::NewL Two-phased constructor.

Parameters

TMMFMessageDestinationPckg aMessageHandler
MCustomCommand & aCustomCommand
CCustomInterfaceUtility * aCustomInterfaceUtility

SetAudioObjectType(TAudioObjectType)

IMPORT_C void SetAudioObjectType ( TAudioObjectType aAudioObjectType ) [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 void SetDownSampledMode ( TBool aDsmEnabled ) [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 void SetInputSamplingFrequency ( TUint aInputSamplingFrequency ) [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 void SetNumOfChannels ( TUint aNumOfChannels ) [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 void SetSbr ( TBool aSbrEnabled ) [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]