CAudioEffect Class Reference

class CAudioEffect : public CBase

This is the base class for audio effects.

AudioEffectBase.lib
Since
3.0

Inherits from

Constructor & Destructor Documentation

CAudioEffect()

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

~CAudioEffect()

IMPORT_C~CAudioEffect()[virtual]

Destructor

Member Functions Documentation

ApplyL()

voidApplyL()[pure virtual]
Apply effect settings
Since
3.0

DisableL()

IMPORT_C voidDisableL()[virtual]
Disable the effect
Since
3.0

DoEffectData()

const TDesC8 &DoEffectData()[protected, pure virtual]
Internal function to package data into a descriptor.
Since
3.0

EnableL()

IMPORT_C voidEnableL()[virtual]
Enable the effect
Since
3.0

EnforceL(TBool)

IMPORT_C voidEnforceL(TBoolaEnforced)[virtual]
Enforce the effect.
Since
3.0

Parameters

TBool aEnforcedIndicate the effect is to be enforced or not. ETrue = Enforced.

HaveUpdateRights()

IMPORT_C TBoolHaveUpdateRights()const [virtual]
Check if this effect object currently has update rights. A client can lose update rights in some hardware platforms where there are a limited number of instances of an effect that can exist at the same time. When an effect instance has lost update rights the user can still change settings, but any calls to Apply the settings will be deferred until update rights are regained.
Since
3.0

IsEnabled()

IMPORT_C TBoolIsEnabled()const [virtual]
Check if the effect is enabled
Since
3.0

IsEnforced()

IMPORT_C TBoolIsEnforced()const [virtual]
Check if the effect is enforced.
Since
3.0

RegisterObserverL(MAudioEffectObserver &)

IMPORT_C voidRegisterObserverL(MAudioEffectObserver &aObserver)
Adds the specified observer to the list of observers to be notified when the effect object changes state.
Since
3.0

Parameters

MAudioEffectObserver & aObserverObject to be added to notifier list.

SetEffectData(const TDesC8 &)

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

Parameters

const TDesC8 & aEffectDataBufferDescriptor containing packed effect data

Uid()

TUid Uid()const [pure virtual]

UnRegisterObserver(MAudioEffectObserver &)

IMPORT_C voidUnRegisterObserver(MAudioEffectObserver &aObserver)
Removes the specified observer from the list of observers.
Since
3.0

Parameters

MAudioEffectObserver & aObserverobject to be removed.

Member Data Documentation

TBool iEnabled

TBool iEnabled[protected]

TBool iEnforced

TBool iEnforced[protected]

TBool iHaveUpdateRights

TBool iHaveUpdateRights[protected]

RPointerArray< MAudioEffectObserver > iObservers

RPointerArray< MAudioEffectObserver >iObservers[protected]