CWmaDecoderIntfc Class Reference
class CWmaDecoderIntfc : public CBase
|
Interface for sending configuration info to WMA 10 Pro 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.
WmaDecoderIntfc.lib
-
Since
-
S60 3.2
Member Functions Documentation
ApplyConfig()
IMPORT_C
TInt
|
ApplyConfig
|
(
|
)
|
[pure virtual]
|
Commits configuration settings to the decoder.
-
Since
-
S60 3.2
DisableTool(TTool)
IMPORT_C void
|
DisableTool
|
(
|
TTool
|
aTool
|
)
|
[pure virtual]
|
Disables the tool specified.
-
Since
-
S60 3.2
EnableTool(TTool)
IMPORT_C void
|
EnableTool
|
(
|
TTool
|
aTool
|
)
|
[pure virtual]
|
Enables the tool specified.
-
Since
-
S60 3.2
GetAvgBytesPerSec(TUint &)
IMPORT_C
TInt
|
GetAvgBytesPerSec
|
(
|
TUint
&
|
aAvgBytesPerSec
|
)
|
[pure virtual]
|
Returns the configuration state of average bytes per second.
-
Since
-
S60 3.2
GetBitsPerSampleIn(TUint &)
IMPORT_C
TInt
|
GetBitsPerSampleIn
|
(
|
TUint
&
|
aBitsPerSample
|
)
|
[pure virtual]
|
Returns the configuration state of number of bits per sample.
-
Since
-
S60 3.2
GetBlockAlign(TUint &)
IMPORT_C
TInt
|
GetBlockAlign
|
(
|
TUint
&
|
aBlockAlign
|
)
|
[pure virtual]
|
Returns the configuration state of block alignment.
-
Since
-
S60 3.2
GetChannelMaskIn(TUint &)
IMPORT_C
TInt
|
GetChannelMaskIn
|
(
|
TUint
&
|
aChannelMask
|
)
|
[pure virtual]
|
Returns the configuration state of the input channel mask.
-
Since
-
S60 3.2
GetControllableTools(RArray< TTool > &)
IMPORT_C
TInt
|
GetControllableTools
|
(
|
RArray
<
TTool
> &
|
aControllableTools
|
)
|
[pure virtual]
|
Returns a list of the tools that are controllable through this interface.
-
Since
-
S60 3.2
GetEncodeOptions(TUint &)
IMPORT_C
TInt
|
GetEncodeOptions
|
(
|
TUint
&
|
aEncodeOpts
|
)
|
[pure virtual]
|
Returns the configuration state of the encode options.
-
Since
-
S60 3.2
GetEncodeOptions1(TUint &)
IMPORT_C
TInt
|
GetEncodeOptions1
|
(
|
TUint
&
|
aEncodeOpts1
|
)
|
[pure virtual]
|
Returns the configuration state of the advanced encode options.
-
Since
-
S60 3.2
GetEncodeOptions2(TUint &)
IMPORT_C
TInt
|
GetEncodeOptions2
|
(
|
TUint
&
|
aEncodeOpts2
|
)
|
[pure virtual]
|
Returns the configuration state of the advanced encode options.
-
Since
-
S60 3.2
GetFormat(TFormat &)
IMPORT_C
TInt
|
GetFormat
|
(
|
TFormat
&
|
aFormat
|
)
|
[pure virtual]
|
Returns the configuration state of audio format.
-
Since
-
S60 3.2
GetNumOfChannelsIn(TUint &)
IMPORT_C
TInt
|
GetNumOfChannelsIn
|
(
|
TUint
&
|
aNumOfChannels
|
)
|
[pure virtual]
|
Returns the configuration state of the number of channels.
-
Since
-
S60 3.2
GetSamplesPerSec(TUint &)
IMPORT_C
TInt
|
GetSamplesPerSec
|
(
|
TUint
&
|
aSamplesPerSec
|
)
|
[pure virtual]
|
Returns the configuration state of the sample rate.
-
Since
-
S60 3.2
GetSupportedFormats(RArray< TFormat > &)
IMPORT_C
TInt
|
GetSupportedFormats
|
(
|
RArray
<
TFormat
> &
|
aSupportedFormats
|
)
|
[pure virtual]
|
Returns a list of formats supported by the decoder.
-
Since
-
S60 3.2
GetSupportedMaxBitrate(TUint &)
IMPORT_C
TInt
|
GetSupportedMaxBitrate
|
(
|
TUint
&
|
aSupportedMaxBitrate
|
)
|
[pure virtual]
|
Returns the maximum bit rate supported by the decoder.
-
Since
-
S60 3.2
Parameters
TUint
& aSupportedMaxBitrate
|
|
GetSupportedMaxChannelsIn(TUint &)
IMPORT_C
TInt
|
GetSupportedMaxChannelsIn
|
(
|
TUint
&
|
aSupportedMaxChannelsIn
|
)
|
[pure 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
|
)
|
[pure 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
|
)
|
[pure virtual]
|
Returns a list of tools supported by the decoder.
-
Since
-
S60 3.2
GetTool(TTool, TBool &)
IMPORT_C
TInt
|
GetTool
|
(
|
TTool
|
aTool,
|
|
TBool
&
|
aEnabled
|
|
)
|
[pure virtual]
|
Returns the state of the specified tool
-
Since
-
S60 3.2
NewL(CMdaAudioInputStream &)
Creates the interface This function will always leave with KErrNotSuppored
NewL(CMdaAudioOutputStream &)
SetAvgBytesPerSec(TUint)
IMPORT_C void
|
SetAvgBytesPerSec
|
(
|
TUint
|
aAvgBytesPerSec
|
)
|
[pure virtual]
|
Configures the average number of bytes per second
-
Since
-
S60 3.2
SetBitsPerSampleIn(TUint)
IMPORT_C void
|
SetBitsPerSampleIn
|
(
|
TUint
|
aBitsPerSample
|
)
|
[pure virtual]
|
Configures the number of bits per sample
-
Since
-
S60 3.2
Parameters
TUint
aBitsPerSample
|
- bits per sample.
|
SetBlockAlign(TUint)
IMPORT_C void
|
SetBlockAlign
|
(
|
TUint
|
aBlockAlign
|
)
|
[pure virtual]
|
Configures the block align size in bytes
-
Since
-
S60 3.2
SetChannelMaskIn(TUint)
IMPORT_C void
|
SetChannelMaskIn
|
(
|
TUint
|
aChannelMask
|
)
|
[pure virtual]
|
Configures the decoder for the channel data arrangement
-
Since
-
S60 3.2
SetEncodeOptions(TUint)
IMPORT_C void
|
SetEncodeOptions
|
(
|
TUint
|
aEncodeOptions
|
)
|
[pure virtual]
|
Configures information specific to the WMA decoder
-
Since
-
S60 3.2
SetEncodeOptions1(TUint)
IMPORT_C void
|
SetEncodeOptions1
|
(
|
TUint
|
aEncodeOpts1
|
)
|
[pure virtual]
|
Configures information specific to the WMA 10 Pro decoder
-
Since
-
S60 3.2
SetEncodeOptions2(TUint)
IMPORT_C void
|
SetEncodeOptions2
|
(
|
TUint
|
aEncodeOpts2
|
)
|
[pure virtual]
|
Configures information specific to the WMA 10 Pro decoder
-
Since
-
S60 3.2
SetFormat(TFormat)
IMPORT_C void
|
SetFormat
|
(
|
TFormat
|
aFormat
|
)
|
[pure virtual]
|
Configures the compressed audio format
-
Since
-
S60 3.2
Parameters
TFormat
aFormat
|
- the audio format.
|
SetNumChannelsIn(TUint)
IMPORT_C void
|
SetNumChannelsIn
|
(
|
TUint
|
aNumChannelsIn
|
)
|
[pure virtual]
|
Configures the number of audio channels
-
Since
-
S60 3.2
SetSamplesPerSec(TUint)
IMPORT_C void
|
SetSamplesPerSec
|
(
|
TUint
|
aSamplesPerSec
|
)
|
[pure virtual]
|
Configures the sampling rate
-
Since
-
S60 3.2
Member Enumerations Documentation
Enum TFormat
Enumerators
EWmaVoice = 10
|
|
EWmaV1 = 352
|
|
EWma = 353
|
|
EWmaV2 = 353
|
|
EWmaPro = 354
|
|
EWmaLossless = 355
|
|
Enum TTool
Enumerators
EToolOutput32Bit = 1
|
|
EDownMixToStereo = 2
|
|
ELostDataConcealment = 3
|
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.