CWmaDecoderIntfcProxy Class Reference

class CWmaDecoderIntfcProxy : public CWmaDecoderIntfc

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

WmaDecoderIntfcProxy.lib
Since
S60 3.2

Inherits from

Public Member Functions
~CWmaDecoderIntfcProxy()
IMPORT_C TIntApplyConfig()
IMPORT_C voidDisableTool(TTool)
IMPORT_C voidEnableTool(TTool)
IMPORT_C TIntGetAvgBytesPerSec(TUint &)
IMPORT_C TIntGetBitsPerSampleIn(TUint &)
IMPORT_C TIntGetBlockAlign(TUint &)
IMPORT_C TIntGetChannelMaskIn(TUint &)
IMPORT_C TIntGetControllableTools(RArray< TTool > &)
IMPORT_C TIntGetEncodeOptions(TUint &)
IMPORT_C TIntGetEncodeOptions1(TUint &)
IMPORT_C TIntGetEncodeOptions2(TUint &)
IMPORT_C TIntGetFormat(TFormat &)
IMPORT_C TIntGetNumOfChannelsIn(TUint &)
IMPORT_C TIntGetSamplesPerSec(TUint &)
IMPORT_C TIntGetSupportedFormats(RArray< TFormat > &)
IMPORT_C TIntGetSupportedMaxBitrate(TUint &)
IMPORT_C TIntGetSupportedMaxChannelsIn(TUint &)
IMPORT_C TIntGetSupportedMaxSampleRate(TUint &)
IMPORT_C TIntGetSupportedTools(RArray< TTool > &)
IMPORT_C TIntGetTool(TTool, TBool &)
IMPORT_C CWmaDecoderIntfcProxy *NewL(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)
IMPORT_C voidSetAvgBytesPerSec(TUint)
IMPORT_C voidSetBitsPerSampleIn(TUint)
IMPORT_C voidSetBlockAlign(TUint)
IMPORT_C voidSetChannelMaskIn(TUint)
IMPORT_C voidSetEncodeOptions(TUint)
IMPORT_C voidSetEncodeOptions1(TUint)
IMPORT_C voidSetEncodeOptions2(TUint)
IMPORT_C voidSetFormat(TFormat)
IMPORT_C voidSetNumChannelsIn(TUint)
IMPORT_C voidSetSamplesPerSec(TUint)
Private Member Functions
CWmaDecoderIntfcProxy(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)
voidConstructL()
TInt GetAllMessage()
TInt GetControllableToolsL(RArray< TTool > &)
TInt GetSupportedFormatsL(RArray< TFormat > &)
TInt GetSupportedToolsL(RArray< TTool > &)
TBool ValidGetStatus(TInt)
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()
CWmaDecoderIntfc::NewL(CMMFDevSound &)
CWmaDecoderIntfc::NewL(CMdaAudioInputStream &)
CWmaDecoderIntfc::NewL(CMdaAudioOutputStream &)
Inherited Enumerations
CWmaDecoderIntfc:TFormat
CWmaDecoderIntfc:TTool
Private Attributes
TUint iAvgBytesPerSec
TUint iBitsPerSample
TUint iBlockAlign
TUint iChannelMask
TUint iCurrentAvgBytesPerSec
TInt iCurrentAvgBytesPerSecStatus
TUint iCurrentBitsPerSample
TInt iCurrentBitsPerSampleStatus
TUint iCurrentBlockAlign
TInt iCurrentBlockAlignStatus
TUint iCurrentChannelMask
TInt iCurrentChannelMaskStatus
TUint iCurrentEncodeOptions
TUint iCurrentEncodeOptions1
TInt iCurrentEncodeOptions1Status
TUint iCurrentEncodeOptions2
TInt iCurrentEncodeOptions2Status
TInt iCurrentEncodeOptionsStatus
TFormat iCurrentFormat
TInt iCurrentFormatStatus
TUint iCurrentNumChannelsIn
TInt iCurrentNumChannelsInStatus
TUint iCurrentSamplesPerSec
TInt iCurrentSamplesPerSecStatus
TUint iCurrentSupportedMaxBitrate
TUint iCurrentSupportedMaxChannelsIn
TUint iCurrentSupportedMaxSampleRate
TBool iCurrentToolDownMixToStereo
TInt iCurrentToolDownMixToStereoStatus
TBool iCurrentToolLostDataConcealment
TInt iCurrentToolLostDataConcealmentStatus
TBool iCurrentToolOutPut32Bit
TInt iCurrentToolOutPut32BitStatus
MCustomCommand &iCustomCommand
CCustomInterfaceUtility *iCustomInterfaceUtility
TUint iEncodeOptions
TUint iEncodeOptions1
TUint iEncodeOptions2
TFormat iFormat
TMMFMessageDestinationPckg iMessageHandler
TUint iNumChannelsIn
TBool iParametersSameAsAdaptation
TUint iSamplesPerSec
TUint iSupportedMaxBitrate
TUint iSupportedMaxChannelsIn
TUint iSupportedMaxSampleRate
TBool iToolDownMixToStereo
TBool iToolLostDataConcealment
TBool iToolOutPut32Bit

Constructor & Destructor Documentation

CWmaDecoderIntfcProxy(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)

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

C++ default constructor.

Parameters

TMMFMessageDestinationPckg aMessageHandler
MCustomCommand & aCustomCommand
CCustomInterfaceUtility * aCustomInterfaceUtility

~CWmaDecoderIntfcProxy()

IMPORT_C~CWmaDecoderIntfcProxy()[virtual]

Destructor.

Member Functions Documentation

ApplyConfig()

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

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DisableTool(TTool)

IMPORT_C voidDisableTool(TToolaTool)[virtual]
Disables the tool specified.
Since
S60 3.2

Parameters

TTool aTool

EnableTool(TTool)

IMPORT_C voidEnableTool(TToolaTool)[virtual]
Enables the tool specified.
Since
S60 3.2

Parameters

TTool aTool

GetAllMessage()

TInt GetAllMessage()[private]
Send request to CI to get the current configuration information.
Since
S60 3.2

GetAvgBytesPerSec(TUint &)

IMPORT_C TIntGetAvgBytesPerSec(TUint &aAvgBytesPerSec)[virtual]
Returns the configuration state of average bytes per second.
Since
S60 3.2

Parameters

TUint & aAvgBytesPerSec

GetBitsPerSampleIn(TUint &)

IMPORT_C TIntGetBitsPerSampleIn(TUint &aBitsPerSample)[virtual]
Returns the configuration state of number of bits per sample.
Since
S60 3.2

Parameters

TUint & aBitsPerSample

GetBlockAlign(TUint &)

IMPORT_C TIntGetBlockAlign(TUint &aBlockAlign)[virtual]
Returns the configuration state of block alignment.
Since
S60 3.2

Parameters

TUint & aBlockAlign

GetChannelMaskIn(TUint &)

IMPORT_C TIntGetChannelMaskIn(TUint &aChannelMask)[virtual]
Returns the configuration state of the input channel mask.
Since
S60 3.2

Parameters

TUint & aChannelMask

GetControllableTools(RArray< TTool > &)

IMPORT_C TIntGetControllableTools(RArray< TTool > &aControllableTools)[virtual]
Returns a list of the tools that are controllable through this interface.
Since
S60 3.2

Parameters

RArray< TTool > & aControllableTools

GetControllableToolsL(RArray< TTool > &)

TInt GetControllableToolsL(RArray< TTool > &aControllableTools)[private]
Returns a list of the tools that are controllable through this interface.
Since
S60 3.2

Parameters

RArray< TTool > & aControllableTools

GetEncodeOptions(TUint &)

IMPORT_C TIntGetEncodeOptions(TUint &aEncodeOpts)[virtual]
Returns the configuration state of the encode options.
Since
S60 3.2

Parameters

TUint & aEncodeOpts

GetEncodeOptions1(TUint &)

IMPORT_C TIntGetEncodeOptions1(TUint &aEncodeOpts1)[virtual]
Returns the configuration state of the advanced encode options.
Since
S60 3.2

Parameters

TUint & aEncodeOpts1

GetEncodeOptions2(TUint &)

IMPORT_C TIntGetEncodeOptions2(TUint &aEncodeOpts2)[virtual]
Returns the configuration state of the advanced encode options.
Since
S60 3.2

Parameters

TUint & aEncodeOpts2

GetFormat(TFormat &)

IMPORT_C TIntGetFormat(TFormat &aFormat)[virtual]
Returns the configuration state of audio format.
Since
S60 3.2

Parameters

TFormat & aFormat

GetNumOfChannelsIn(TUint &)

IMPORT_C TIntGetNumOfChannelsIn(TUint &aNumOfChannels)[virtual]
Returns the configuration state of the number of channels.
Since
S60 3.2

Parameters

TUint & aNumOfChannels

GetSamplesPerSec(TUint &)

IMPORT_C TIntGetSamplesPerSec(TUint &aSamplesPerSec)[virtual]
Returns the configuration state of the sample rate.
Since
S60 3.2

Parameters

TUint & aSamplesPerSec

GetSupportedFormats(RArray< TFormat > &)

IMPORT_C TIntGetSupportedFormats(RArray< TFormat > &aSupportedFormats)[virtual]
Gets a list of formats supported by the decoder.
Since
S60 3.2

Parameters

RArray< TFormat > & aSupportedFormats

GetSupportedFormatsL(RArray< TFormat > &)

TInt GetSupportedFormatsL(RArray< TFormat > &aSupportedFormats)[private]
Gets a list of formats supported by the decoder.
Since
S60 3.2

Parameters

RArray< TFormat > & aSupportedFormats

GetSupportedMaxBitrate(TUint &)

IMPORT_C TIntGetSupportedMaxBitrate(TUint &aSupportedMaxBitrate)[virtual]
Returns the maximum bitrate supported by the decoder.
Since
S60 3.2

Parameters

TUint & aSupportedMaxBitrate

GetSupportedMaxChannelsIn(TUint &)

IMPORT_C TIntGetSupportedMaxChannelsIn(TUint &aSupportedMaxChannelsIn)[virtual]
Returns the maximum number of input channels supported by the decoder.
Since
S60 3.2

Parameters

TUint & aSupportedMaxChannelsIn

GetSupportedMaxSampleRate(TUint &)

IMPORT_C TIntGetSupportedMaxSampleRate(TUint &aSupportedMaxSampleRate)[virtual]
Returns the maximum sample rate supported by the decoder.
Since
S60 3.2

Parameters

TUint & aSupportedMaxSampleRate

GetSupportedTools(RArray< TTool > &)

IMPORT_C TIntGetSupportedTools(RArray< TTool > &aSupportedTools)[virtual]
Returns a list of tools supported by the decoder.
Since
S60 3.2

Parameters

RArray< TTool > & aSupportedTools

GetSupportedToolsL(RArray< TTool > &)

TInt GetSupportedToolsL(RArray< TTool > &aSupportedTools)[private]
Returns a list of tools supported by the decoder.
Since
S60 3.2

Parameters

RArray< TTool > & aSupportedTools

GetTool(TTool, TBool &)

IMPORT_C TIntGetTool(TToolaTool,
TBool &aEnabled
)[virtual]
Returns the state of the specified tool
Since
S60 3.2

Parameters

TTool aTool
TBool & aEnabled

NewL(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)

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

Two-phased constructor.

Parameters

TMMFMessageDestinationPckg aMessageHandler
MCustomCommand & aCustomCommand
CCustomInterfaceUtility * aCustomInterfaceUtility

SetAvgBytesPerSec(TUint)

IMPORT_C voidSetAvgBytesPerSec(TUintaAvgBytesPerSec)[virtual]
Configures the average number of bytes per second
Since
S60 3.2

Parameters

TUint aAvgBytesPerSec

SetBitsPerSampleIn(TUint)

IMPORT_C voidSetBitsPerSampleIn(TUintaBitsPerSample)[virtual]
Configures the number of bits per sample
Since
S60 3.2

Parameters

TUint aBitsPerSample- bit per sample.

SetBlockAlign(TUint)

IMPORT_C voidSetBlockAlign(TUintaBlockAlign)[virtual]
Configures the block align size in bytes
Since
S60 3.2

Parameters

TUint aBlockAlign

SetChannelMaskIn(TUint)

IMPORT_C voidSetChannelMaskIn(TUintaChannelMask)[virtual]
Configures the decoder for the channel data arrangement
Since
S60 3.2

Parameters

TUint aChannelMask

SetEncodeOptions(TUint)

IMPORT_C voidSetEncodeOptions(TUintaEncodeOptions)[virtual]
Configures information specific to the WMA 10 Pro decoder
Since
S60 3.2

Parameters

TUint aEncodeOptions

SetEncodeOptions1(TUint)

IMPORT_C voidSetEncodeOptions1(TUintaEncodeOptions1)[virtual]
Configures information specific to the WMA 10 Pro decoder
Since
S60 3.2

Parameters

TUint aEncodeOptions1

SetEncodeOptions2(TUint)

IMPORT_C voidSetEncodeOptions2(TUintaEncodeOptions2)[virtual]
Configures information specific to the WMA 10 Pro decoder
Since
S60 3.2

Parameters

TUint aEncodeOptions2

SetFormat(TFormat)

IMPORT_C voidSetFormat(TFormataFormat)[virtual]
Configures the compressed audio format
Since
S60 3.2

Parameters

TFormat aFormat- the audio format.

SetNumChannelsIn(TUint)

IMPORT_C voidSetNumChannelsIn(TUintaNumChannelsIn)[virtual]
Configures the number of audio channels
Since
S60 3.2

Parameters

TUint aNumChannelsIn

SetSamplesPerSec(TUint)

IMPORT_C voidSetSamplesPerSec(TUintaSamplesPerSec)[virtual]
Configures the sampling rate
Since
S60 3.2

Parameters

TUint aSamplesPerSec

ValidGetStatus(TInt)

TBool ValidGetStatus(TIntaError)[private]
Check if the returned status is valid.
Since
S60 3.2 param aError: the status to be checked

Parameters

TInt aError

Member Data Documentation

TUint iAvgBytesPerSec

TUint iAvgBytesPerSec[private]

TUint iBitsPerSample

TUint iBitsPerSample[private]

TUint iBlockAlign

TUint iBlockAlign[private]

TUint iChannelMask

TUint iChannelMask[private]

TUint iCurrentAvgBytesPerSec

TUint iCurrentAvgBytesPerSec[private]

TInt iCurrentAvgBytesPerSecStatus

TInt iCurrentAvgBytesPerSecStatus[private]

TUint iCurrentBitsPerSample

TUint iCurrentBitsPerSample[private]

TInt iCurrentBitsPerSampleStatus

TInt iCurrentBitsPerSampleStatus[private]

TUint iCurrentBlockAlign

TUint iCurrentBlockAlign[private]

TInt iCurrentBlockAlignStatus

TInt iCurrentBlockAlignStatus[private]

TUint iCurrentChannelMask

TUint iCurrentChannelMask[private]

TInt iCurrentChannelMaskStatus

TInt iCurrentChannelMaskStatus[private]

TUint iCurrentEncodeOptions

TUint iCurrentEncodeOptions[private]

TUint iCurrentEncodeOptions1

TUint iCurrentEncodeOptions1[private]

TInt iCurrentEncodeOptions1Status

TInt iCurrentEncodeOptions1Status[private]

TUint iCurrentEncodeOptions2

TUint iCurrentEncodeOptions2[private]

TInt iCurrentEncodeOptions2Status

TInt iCurrentEncodeOptions2Status[private]

TInt iCurrentEncodeOptionsStatus

TInt iCurrentEncodeOptionsStatus[private]

TFormat iCurrentFormat

TFormat iCurrentFormat[private]

TInt iCurrentFormatStatus

TInt iCurrentFormatStatus[private]

TUint iCurrentNumChannelsIn

TUint iCurrentNumChannelsIn[private]

TInt iCurrentNumChannelsInStatus

TInt iCurrentNumChannelsInStatus[private]

TUint iCurrentSamplesPerSec

TUint iCurrentSamplesPerSec[private]

TInt iCurrentSamplesPerSecStatus

TInt iCurrentSamplesPerSecStatus[private]

TUint iCurrentSupportedMaxBitrate

TUint iCurrentSupportedMaxBitrate[private]

TUint iCurrentSupportedMaxChannelsIn

TUint iCurrentSupportedMaxChannelsIn[private]

TUint iCurrentSupportedMaxSampleRate

TUint iCurrentSupportedMaxSampleRate[private]

TBool iCurrentToolDownMixToStereo

TBool iCurrentToolDownMixToStereo[private]

TInt iCurrentToolDownMixToStereoStatus

TInt iCurrentToolDownMixToStereoStatus[private]

TBool iCurrentToolLostDataConcealment

TBool iCurrentToolLostDataConcealment[private]

TInt iCurrentToolLostDataConcealmentStatus

TInt iCurrentToolLostDataConcealmentStatus[private]

TBool iCurrentToolOutPut32Bit

TBool iCurrentToolOutPut32Bit[private]

TInt iCurrentToolOutPut32BitStatus

TInt iCurrentToolOutPut32BitStatus[private]

MCustomCommand & iCustomCommand

MCustomCommand &iCustomCommand[private]

CCustomInterfaceUtility * iCustomInterfaceUtility

CCustomInterfaceUtility *iCustomInterfaceUtility[private]

TUint iEncodeOptions

TUint iEncodeOptions[private]

TUint iEncodeOptions1

TUint iEncodeOptions1[private]

TUint iEncodeOptions2

TUint iEncodeOptions2[private]

TFormat iFormat

TFormat iFormat[private]

TMMFMessageDestinationPckg iMessageHandler

TMMFMessageDestinationPckg iMessageHandler[private]

TUint iNumChannelsIn

TUint iNumChannelsIn[private]

TBool iParametersSameAsAdaptation

TBool iParametersSameAsAdaptation[private]

TUint iSamplesPerSec

TUint iSamplesPerSec[private]

TUint iSupportedMaxBitrate

TUint iSupportedMaxBitrate[private]

TUint iSupportedMaxChannelsIn

TUint iSupportedMaxChannelsIn[private]

TUint iSupportedMaxSampleRate

TUint iSupportedMaxSampleRate[private]

TBool iToolDownMixToStereo

TBool iToolDownMixToStereo[private]

TBool iToolLostDataConcealment

TBool iToolLostDataConcealment[private]

TBool iToolOutPut32Bit

TBool iToolOutPut32Bit[private]