CAudioEqualizer Class Reference
class CAudioEqualizer : public CAudioEffect
|
This is the Equalizer effect class for managing audio equalizer settings.
AudioEqualizerEffect.lib
-
Since
-
3.0
Constructor & Destructor Documentation
CAudioEqualizer()
IMPORT_C
|
CAudioEqualizer
|
(
|
)
|
[protected]
|
Private C++ constructor for this class.
-
Since
-
3.0
~CAudioEqualizer()
IMPORT_C
|
~CAudioEqualizer
|
(
|
)
|
[virtual]
|
Member Functions Documentation
BandLevel(TUint8)
Get the band level in mB for the specified band
-
Since
-
3.0
BandWidth(TUint8)
Get the band width in Hz for the specified band.
-
Since
-
3.0
CenterFrequency(TUint8)
Get the center frequency in Hz for a given band
-
Since
-
3.0
CrossoverFrequency(TUint8)
Get the cross-over frequency between the given frequency band (aBand) and the next band
-
Since
-
3.0
DbLevelLimits(TInt32 &, TInt32 &)
IMPORT_C void
|
DbLevelLimits
|
(
|
TInt32
&
|
aMin,
|
|
TInt32
&
|
aMax
|
|
)
|
|
Get the dB range in mB for the equalizer
-
Since
-
3.0
DoBandDataL(TUint8, TBool)
Create a descriptor containing data for the specified band(s).
-
Since
-
3.0
Parameters
TUint8
aBand
|
The frequency band data to package. Valid if aAllBands = EFalse.
|
TBool
aAllBands
|
Indicate if data for all bands is requested.
|
DoEffectData()
IMPORT_C const
TDesC8
&
|
DoEffectData
|
(
|
)
|
[protected, virtual]
|
From
CAudioEffect
Create a package of the effect data
-
Since
-
3.0
NewL()
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(CMdaAudioConvertUtility &)
IMPORT_C
CAudioEqualizer
*
|
NewL
|
(
|
CMdaAudioConvertUtility &
|
aUtility
|
)
|
[static]
|
Factory function for creating the audio equalizer object.
-
Since
-
3.0
Parameters
CMdaAudioConvertUtility & aUtility
|
A reference to a convert utility
|
NewL(CMdaAudioInputStream &)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(CMdaAudioOutputStream &)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(CMdaAudioPlayerUtility &)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(CMdaAudioRecorderUtility &, TBool)
IMPORT_C
CAudioEqualizer
*
|
NewL
|
(
|
CMdaAudioRecorderUtility &
|
aUtility,
|
|
TBool
|
aRecordStream
|
|
)
|
[static]
|
Factory function for creating the audio equalizer object.
-
Since
-
3.0
Parameters
CMdaAudioRecorderUtility & aUtility
|
A reference to an audio record utility
|
TBool
aRecordStream
|
ETrue if the effect is to be applied to the recording, EFalse if the effect is to be applied only to the playback
|
NewL(CMdaAudioToneUtility &)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(CMMFDevSound &)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(CCustomCommandUtility *)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(MCustomInterface &)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(CMidiClientUtility &)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
Parameters
CMidiClientUtility & aUtility
|
|
NewL(CDrmPlayerUtility &)
Factory function for creating the audio equalizer object.
-
Since
-
3.0
NewL(CVideoPlayerUtility &)
IMPORT_C
CAudioEqualizer
*
|
NewL
|
(
|
CVideoPlayerUtility &
|
aUtility
|
)
|
[static]
|
Factory function for creating the audio equalizer object.
-
Since
-
3.2
Parameters
CVideoPlayerUtility & aUtility
|
|
NumberOfBands()
IMPORT_C
TUint8
|
NumberOfBands
|
(
|
)
|
const
|
Get number of equalizer bands.
-
Since
-
3.0
SetBandDataL(TInt, const TDesC8 &)
IMPORT_C void
|
SetBandDataL
|
(
|
TInt
|
aNumberOfBands,
|
|
const
TDesC8
&
|
aBandDataBuffer
|
|
)
|
[protected]
|
Unpack band data from the specified descriptor.
-
Since
-
3.0
Parameters
TInt
aNumberOfBands
|
Number of bands contained in the descriptor.
|
const
TDesC8
& aBandDataBuffer
|
Descriptor containing band data
|
SetBandLevelL(TInt8, TInt32)
IMPORT_C void
|
SetBandLevelL
|
(
|
TInt8
|
aBand,
|
|
TInt32
|
aLevel
|
|
)
|
|
Sets the equalizer band level value in mB, ranging from Min to Max
-
Since
-
3.0
Parameters
TInt8
aBand
|
Frequency Band
|
TInt32
aLevel
|
band level in dB, ranges from DbLevelLimits()
|
SetEffectData(const TDesC8 &)
IMPORT_C void
|
SetEffectData
|
(
|
const
TDesC8
&
|
aEffectDataBuffer
|
)
|
[protected, virtual]
|
From
CAudioEffect
Internal function to unpack effect data
-
Since
-
3.0
Parameters
const
TDesC8
& aEffectDataBuffer
|
Descriptor containing packed effect data
|
Uid()
IMPORT_C
TUid
|
Uid
|
(
|
)
|
const [virtual]
|
Member Data Documentation
TEfAudioEqualizer
iAudioEqualizerData
HBufC8 * iBandDataBuf
HBufC8
*
|
iBandDataBuf
|
[protected]
|
TEfAudioEqualizerBandDataPckg
iBandDataPckgTo
RArray< TEfAudioEqualizerBand > iBandsData
TEfAudioEqualizerDataPckg
iDataPckgTo
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.