CAudioEqualizer Class Reference
#include
<AudioEqualizerBase.h>
Link against: AudioEqualizerEffect.lib
class CAudioEqualizer : public CAudioEffect |
Detailed Description
This is the Equalizer effect class for managing audio equalizer settings.
Member Attribute Documentation
iBandDataBuf
HBufC8 * | iBandDataBuf | [protected] |
Constructor & Destructor Documentation
CAudioEqualizer ( )
IMPORT_C | CAudioEqualizer | ( | ) | [protected] |
Private C++ constructor for this class.
- Since
- 3.0
~CAudioEqualizer ( )
IMPORT_C | ~CAudioEqualizer | ( | ) | [virtual] |
Member Function Documentation
BandLevel ( TUint8 )
Get the band level in mB for the specified band
- Since
- 3.0
Parameter | Description | aBand | Frequency Band |
Returns: Returns the band level in mB for the specified band
BandWidth ( TUint8 )
Get the band width in Hz for the specified band.
- Since
- 3.0
Parameter | Description | aBand | Frequency Band |
Returns: The band width in Hz for the specified band
CenterFrequency ( TUint8 )
Get the center frequency in Hz for a given band
- Since
- 3.0
Parameter | Description | aBand | Frequency Band |
Returns: The center frequency in Hz for a given band.
CrossoverFrequency ( TUint8 )
Get the cross-over frequency between the given frequency band (aBand) and the next band
- Since
- 3.0
Parameter | Description | aBand | Frequency Band |
Returns: Crossover frequency.
DbLevelLimits ( TInt32 &, TInt32 & )
Get the dB range in mB for the equalizer
- Since
- 3.0
Parameter | Description | aMin | Maximum level in dB |
DoBandDataL ( TUint8, TBool )
Create a descriptor containing data for the specified band(s).
- Since
- 3.0
Parameter | Description | aBand | The frequency band data to package. Valid if aAllBands = EFalse. |
aAllBands | Indicate if data for all bands is requested. |
Returns: A descriptor containing data for specified band.
DoEffectData ( )
IMPORT_C const TDesC8 & | DoEffectData | ( | ) | [protected, virtual] |
From
CAudioEffect Create a package of the effect data
- Since
- 3.0
Returns: A descriptor containing the effect data.
NewL ( )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Returns: pointer to CAudioEqualizer object
NewL ( CMdaAudioConvertUtility & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to a convert utility |
Returns: pointer to CAudioEqualizer object
NewL ( CMdaAudioInputStream & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio input stream utility |
Returns: pointer to CAudioEqualizer object
NewL ( CMdaAudioOutputStream & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio output stream utility |
Returns: pointer to CAudioEqualizer object
NewL ( CMdaAudioPlayerUtility & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio player utility |
Returns: pointer to CAudioEqualizer object
NewL ( CMdaAudioRecorderUtility &, TBool )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio record utility |
aRecordStream | ETrue if the effect is to be applied to the recording, EFalse if the effect is to be applied only to the playback |
Returns: pointer to CAudioEqualizer object
NewL ( CMdaAudioToneUtility & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio tone utility |
Returns: pointer to CAudioEqualizer object
NewL ( CMMFDevSound & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aDevSound | A reference to a DevSound instance |
Returns: pointer to CAudioEqualizer object
NewL ( CCustomCommandUtility * )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to a custom command utility |
Returns: pointer to CAudioEqualizer object
NewL ( MCustomInterface & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Parameter | Description | aCustomInterface | A reference to a custom interface |
Returns: pointer to CAudioEqualizer object
NewL ( CMidiClientUtility & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Returns: pointer to CAudioEqualizer object
NewL ( CDrmPlayerUtility & )
Factory function for creating the audio equalizer object.
- Since
- 3.0
Returns: pointer to CAudioEqualizer object
NewL ( CVideoPlayerUtility & )
Factory function for creating the audio equalizer object.
- Since
- 3.2
Returns: pointer to CAudioEqualizer object
NumberOfBands ( )
IMPORT_C TUint8 | NumberOfBands | ( | ) | const |
Get number of equalizer bands.
- Since
- 3.0
Returns: The number of equalizer bands.
SetBandDataL ( TInt, const TDesC8 & )
IMPORT_C void | SetBandDataL | ( | TInt | aNumberOfBands, |
| const TDesC8 & | aBandDataBuffer |
| ) | [protected] |
Unpack band data from the specified descriptor.
- Since
- 3.0
Parameter | Description | aNumberOfBands | Number of bands contained in the descriptor. |
aBandDataBuffer | Descriptor containing band data |
SetBandLevelL ( TInt8, TInt32 )
Sets the equalizer band level value in mB, ranging from Min to Max
- Since
- 3.0
Parameter | Description | aBand | Frequency Band |
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
Parameter | Description | aEffectDataBuffer | Descriptor containing packed effect data |
Uid ( )
IMPORT_C TUid | Uid | ( | ) | const [virtual] |