CLoudness Class Reference

class CLoudness : public CAudioEffect

This is the Loudness effect class for managing audio Loudness settings.

LoudnessUtility.lib
Since
3.0

Inherits from

Public Member Functions
~CLoudness()
IMPORT_C CLoudness *NewL(CMdaAudioConvertUtility &)
IMPORT_C CLoudness *NewL(CMdaAudioInputStream &, TBool)
IMPORT_C CLoudness *NewL(CMdaAudioOutputStream &, TBool)
IMPORT_C CLoudness *NewL(CMdaAudioPlayerUtility &, TBool)
IMPORT_C CLoudness *NewL(CMdaAudioRecorderUtility &, TBool, TBool)
IMPORT_C CLoudness *NewL(CMdaAudioToneUtility &, TBool)
IMPORT_C CLoudness *NewL(CMMFDevSound &, TBool)
IMPORT_C CLoudness *NewL(CCustomCommandUtility *, TBool)
IMPORT_C CLoudness *NewL(MCustomInterface &, TBool)
IMPORT_C CLoudness *NewL(CMidiClientUtility &, TBool)
IMPORT_C CLoudness *NewL(CDrmPlayerUtility &, TBool)
IMPORT_C CLoudness *NewL(CVideoPlayerUtility &, TBool)
IMPORT_C TUidUid()
Protected Member Functions
CLoudness()
IMPORT_C const TDesC8 &DoEffectData()
IMPORT_C voidSetEffectData(const TDesC8 &)
Inherited Functions
CAudioEffect::ApplyL()
CAudioEffect::CAudioEffect()
CAudioEffect::DisableL()
CAudioEffect::EnableL()
CAudioEffect::EnforceL(TBool)
CAudioEffect::HaveUpdateRights()const
CAudioEffect::IsEnabled()const
CAudioEffect::IsEnforced()const
CAudioEffect::RegisterObserverL(MAudioEffectObserver &)
CAudioEffect::UnRegisterObserver(MAudioEffectObserver &)
CAudioEffect::~CAudioEffect()
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()
Protected Attributes
TEfLoudnessDataPckg iDataPckgFrom
TEfLoudnessDataPckg iDataPckgTo
TEfLoudnessData iLoudnessData
Inherited Attributes
CAudioEffect::iEnabled
CAudioEffect::iEnforced
CAudioEffect::iHaveUpdateRights
CAudioEffect::iObservers

Constructor & Destructor Documentation

CLoudness()

IMPORT_CCLoudness()[protected]
Private C++ constructor for this class.
Since
3.0

~CLoudness()

IMPORT_C~CLoudness()[virtual]

Destructor

Member Functions Documentation

DoEffectData()

IMPORT_C const TDesC8 &DoEffectData()[protected, virtual]
From CAudioEffect Create a package of the effect data
Since
3.0

NewL(CMdaAudioConvertUtility &)

IMPORT_C CLoudness *NewL(CMdaAudioConvertUtility &aUtility)[static]
Factory function for creating the audio Loudness object.
Since
3.0

Parameters

CMdaAudioConvertUtility & aUtilityA reference to a convert utility

NewL(CMdaAudioInputStream &, TBool)

IMPORT_C CLoudness *NewL(CMdaAudioInputStream &aUtility,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CMdaAudioInputStream & aUtilityA reference to an audio input stream utility
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioOutputStream &, TBool)

IMPORT_C CLoudness *NewL(CMdaAudioOutputStream &aUtility,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CMdaAudioOutputStream & aUtilityA reference to an audio output stream utility
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioPlayerUtility &, TBool)

IMPORT_C CLoudness *NewL(CMdaAudioPlayerUtility &aUtility,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CMdaAudioPlayerUtility & aUtilityA reference to an audio player utility
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioRecorderUtility &, TBool, TBool)

IMPORT_C CLoudness *NewL(CMdaAudioRecorderUtility &aUtility,
TBoolaRecordStream,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CMdaAudioRecorderUtility & aUtilityA reference to an audio record utility
TBool aRecordStreamETrue if the effect is to be applied to the recording, EFalse if the effect is to be applied only to the playback
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioToneUtility &, TBool)

IMPORT_C CLoudness *NewL(CMdaAudioToneUtility &aUtility,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CMdaAudioToneUtility & aUtilityA reference to an audio tone utility
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(CMMFDevSound &, TBool)

IMPORT_C CLoudness *NewL(CMMFDevSound &aDevSound,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CMMFDevSound & aDevSoundA reference to a DevSound instance
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(CCustomCommandUtility *, TBool)

IMPORT_C CLoudness *NewL(CCustomCommandUtility *aUtility,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CCustomCommandUtility * aUtilityA reference to a custom command utility
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(MCustomInterface &, TBool)

IMPORT_C CLoudness *NewL(MCustomInterface &aCustomInterface,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

MCustomInterface & aCustomInterfaceA reference to a custom interface
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(CMidiClientUtility &, TBool)

IMPORT_C CLoudness *NewL(CMidiClientUtility &aUtility,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CMidiClientUtility & aUtilityA reference to a CMidiClientUtility
TBool aEnable = EFalseIndicate whether the effect will be automatically enabled after creation.

NewL(CDrmPlayerUtility &, TBool)

IMPORT_C CLoudness *NewL(CDrmPlayerUtility &aUtility,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.0

Parameters

CDrmPlayerUtility & aUtility
TBool aEnable = EFalse

NewL(CVideoPlayerUtility &, TBool)

IMPORT_C CLoudness *NewL(CVideoPlayerUtility &aUtility,
TBoolaEnable = EFalse
)[static]
Factory function for creating the Loudness object.
Since
3.2

Parameters

CVideoPlayerUtility & aUtility
TBool aEnable = EFalse

SetEffectData(const TDesC8 &)

IMPORT_C voidSetEffectData(const TDesC8 &aEffectDataBuffer)[protected, virtual]
From CAudioEffect Internal function to unpack effect data
Since
3.0

Parameters

const TDesC8 & aEffectDataBufferDescriptor containing packed effect data

Uid()

IMPORT_C TUidUid()const [virtual]

Member Data Documentation

TEfLoudnessDataPckg iDataPckgFrom

TEfLoudnessDataPckg iDataPckgFrom[protected]

TEfLoudnessDataPckg iDataPckgTo

TEfLoudnessDataPckg iDataPckgTo[protected]

TEfLoudnessData iLoudnessData

TEfLoudnessData iLoudnessData[protected]