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 TInt ApplyConfig ()
IMPORT_C void DisableTool ( TTool )
IMPORT_C void EnableTool ( TTool )
IMPORT_C TInt GetAvgBytesPerSec ( TUint &)
IMPORT_C TInt GetBitsPerSampleIn ( TUint &)
IMPORT_C TInt GetBlockAlign ( TUint &)
IMPORT_C TInt GetChannelMaskIn ( TUint &)
IMPORT_C TInt GetControllableTools ( RArray < TTool > &)
IMPORT_C TInt GetEncodeOptions ( TUint &)
IMPORT_C TInt GetEncodeOptions1 ( TUint &)
IMPORT_C TInt GetEncodeOptions2 ( TUint &)
IMPORT_C TInt GetFormat ( TFormat &)
IMPORT_C TInt GetNumOfChannelsIn ( TUint &)
IMPORT_C TInt GetSamplesPerSec ( TUint &)
IMPORT_C TInt GetSupportedFormats ( RArray < TFormat > &)
IMPORT_C TInt GetSupportedMaxBitrate ( TUint &)
IMPORT_C TInt GetSupportedMaxChannelsIn ( TUint &)
IMPORT_C TInt GetSupportedMaxSampleRate ( TUint &)
IMPORT_C TInt GetSupportedTools ( RArray < TTool > &)
IMPORT_C TInt GetTool ( TTool , TBool &)
IMPORT_C CWmaDecoderIntfcProxy * NewL ( TMMFMessageDestinationPckg , MCustomCommand &, CCustomInterfaceUtility *)
IMPORT_C void SetAvgBytesPerSec ( TUint )
IMPORT_C void SetBitsPerSampleIn ( TUint )
IMPORT_C void SetBlockAlign ( TUint )
IMPORT_C void SetChannelMaskIn ( TUint )
IMPORT_C void SetEncodeOptions ( TUint )
IMPORT_C void SetEncodeOptions1 ( TUint )
IMPORT_C void SetEncodeOptions2 ( TUint )
IMPORT_C void SetFormat ( TFormat )
IMPORT_C void SetNumChannelsIn ( TUint )
IMPORT_C void SetSamplesPerSec ( TUint )
Private Member Functions
CWmaDecoderIntfcProxy ( TMMFMessageDestinationPckg , MCustomCommand &, CCustomInterfaceUtility *)
void ConstructL ()
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 ( TMMFMessageDestinationPckg aMessageHandler,
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 TInt ApplyConfig ( ) [virtual]
Commits configuration settings to the decoder.
Since
S60 3.2

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DisableTool(TTool)

IMPORT_C void DisableTool ( TTool aTool ) [virtual]
Disables the tool specified.
Since
S60 3.2

Parameters

TTool aTool

EnableTool(TTool)

IMPORT_C void EnableTool ( TTool aTool ) [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 TInt GetAvgBytesPerSec ( TUint & aAvgBytesPerSec ) [virtual]
Returns the configuration state of average bytes per second.
Since
S60 3.2

Parameters

TUint & aAvgBytesPerSec

GetBitsPerSampleIn(TUint &)

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

Parameters

TUint & aBitsPerSample

GetBlockAlign(TUint &)

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

Parameters

TUint & aBlockAlign

GetChannelMaskIn(TUint &)

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

Parameters

TUint & aChannelMask

GetControllableTools(RArray< TTool > &)

IMPORT_C TInt GetControllableTools ( 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 TInt GetEncodeOptions ( TUint & aEncodeOpts ) [virtual]
Returns the configuration state of the encode options.
Since
S60 3.2

Parameters

TUint & aEncodeOpts

GetEncodeOptions1(TUint &)

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

Parameters

TUint & aEncodeOpts1

GetEncodeOptions2(TUint &)

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

Parameters

TUint & aEncodeOpts2

GetFormat(TFormat &)

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

Parameters

TFormat & aFormat

GetNumOfChannelsIn(TUint &)

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

Parameters

TUint & aNumOfChannels

GetSamplesPerSec(TUint &)

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

Parameters

TUint & aSamplesPerSec

GetSupportedFormats(RArray< TFormat > &)

IMPORT_C TInt GetSupportedFormats ( 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 TInt GetSupportedMaxBitrate ( TUint & aSupportedMaxBitrate ) [virtual]
Returns the maximum bitrate supported by the decoder.
Since
S60 3.2

Parameters

TUint & aSupportedMaxBitrate

GetSupportedMaxChannelsIn(TUint &)

IMPORT_C TInt GetSupportedMaxChannelsIn ( 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 TInt GetSupportedMaxSampleRate ( TUint & aSupportedMaxSampleRate ) [virtual]
Returns the maximum sample rate supported by the decoder.
Since
S60 3.2

Parameters

TUint & aSupportedMaxSampleRate

GetSupportedTools(RArray< TTool > &)

IMPORT_C TInt GetSupportedTools ( 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 TInt GetTool ( TTool aTool,
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 ( TMMFMessageDestinationPckg aMessageHandler,
MCustomCommand & aCustomCommand,
CCustomInterfaceUtility * aCustomInterfaceUtility
) [static]

Two-phased constructor.

Parameters

TMMFMessageDestinationPckg aMessageHandler
MCustomCommand & aCustomCommand
CCustomInterfaceUtility * aCustomInterfaceUtility

SetAvgBytesPerSec(TUint)

IMPORT_C void SetAvgBytesPerSec ( TUint aAvgBytesPerSec ) [virtual]
Configures the average number of bytes per second
Since
S60 3.2

Parameters

TUint aAvgBytesPerSec

SetBitsPerSampleIn(TUint)

IMPORT_C void SetBitsPerSampleIn ( TUint aBitsPerSample ) [virtual]
Configures the number of bits per sample
Since
S60 3.2

Parameters

TUint aBitsPerSample - bit per sample.

SetBlockAlign(TUint)

IMPORT_C void SetBlockAlign ( TUint aBlockAlign ) [virtual]
Configures the block align size in bytes
Since
S60 3.2

Parameters

TUint aBlockAlign

SetChannelMaskIn(TUint)

IMPORT_C void SetChannelMaskIn ( TUint aChannelMask ) [virtual]
Configures the decoder for the channel data arrangement
Since
S60 3.2

Parameters

TUint aChannelMask

SetEncodeOptions(TUint)

IMPORT_C void SetEncodeOptions ( TUint aEncodeOptions ) [virtual]
Configures information specific to the WMA 10 Pro decoder
Since
S60 3.2

Parameters

TUint aEncodeOptions

SetEncodeOptions1(TUint)

IMPORT_C void SetEncodeOptions1 ( TUint aEncodeOptions1 ) [virtual]
Configures information specific to the WMA 10 Pro decoder
Since
S60 3.2

Parameters

TUint aEncodeOptions1

SetEncodeOptions2(TUint)

IMPORT_C void SetEncodeOptions2 ( TUint aEncodeOptions2 ) [virtual]
Configures information specific to the WMA 10 Pro decoder
Since
S60 3.2

Parameters

TUint aEncodeOptions2

SetFormat(TFormat)

IMPORT_C void SetFormat ( TFormat aFormat ) [virtual]
Configures the compressed audio format
Since
S60 3.2

Parameters

TFormat aFormat - the audio format.

SetNumChannelsIn(TUint)

IMPORT_C void SetNumChannelsIn ( TUint aNumChannelsIn ) [virtual]
Configures the number of audio channels
Since
S60 3.2

Parameters

TUint aNumChannelsIn

SetSamplesPerSec(TUint)

IMPORT_C void SetSamplesPerSec ( TUint aSamplesPerSec ) [virtual]
Configures the sampling rate
Since
S60 3.2

Parameters

TUint aSamplesPerSec

ValidGetStatus(TInt)

TBool ValidGetStatus ( TInt aError ) [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]