API published in: S60 3rd Ed
Link against: effectbase.lib
Required Capabilities
None
#include <audioeffectbase.h>
Inherited by CAudioEqualizer, CBassBoost, CDistanceAttenuation, CDoppler, CEnvironmentalReverb, CLocation, CLoudness, COrientation, CRoomLevel, and CStereoWidening.
Public Member Functions |
|
virtual IMPORT_C | ~CAudioEffect () |
Destructor. |
|
virtual void | ApplyL ()=0 |
Apply effect settings. |
|
virtual IMPORT_C void | DisableL () |
Disable the effect. |
|
virtual IMPORT_C void | EnableL () |
Enable the effect. |
|
virtual IMPORT_C void | EnforceL (TBool aEnforced) |
Enforce the effect. |
|
virtual IMPORT_C TBool | HaveUpdateRights () const |
Check if this effect object currently has update rights. |
|
virtual IMPORT_C TBool | IsEnabled () const |
Check if the effect is enabled. |
|
virtual IMPORT_C TBool | IsEnforced () const |
Check if the effect is enforced. |
|
IMPORT_C void | RegisterObserverL (MAudioEffectObserver &aObserver) |
Adds the specified observer to the list of observers to be notified when the effect object changes state. |
|
virtual TUid | Uid () const =0 |
IMPORT_C void | UnRegisterObserver (MAudioEffectObserver &aObserver) |
Removes the specified observer from the list of observers. |
|
Protected Member Functions |
|
IMPORT_C | CAudioEffect () |
Private C++ constructor for this class. |
|
virtual const TDesC8 & | DoEffectData ()=0 |
Internal function to package data into a descriptor. |
|
virtual void | SetEffectData (const TDesC8 &aEffectDataBuffer)=0 |
Internal function to unpack effect data. |
|
Protected Attributes |
|
TBool | iEnabled |
TBool | iEnforced |
TBool | iHaveUpdateRights |
RPointerArray< MAudioEffectObserver > | iObservers |
|
Destructor. |
|
Private C++ constructor for this class.
|
|
Apply effect settings. |
|
Disable the effect. |
|
Internal function to package data into a descriptor.
Implemented in CAudioEqualizer, CBassBoost, CDistanceAttenuation, CDoppler, CEnvironmentalReverb, CLocation, CLoudness, COrientation, CRoomLevel, and CStereoWidening. |
|
Enable the effect. |
|
Enforce the effect.
|
|
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.
|
|
Check if the effect is enabled.
|
|
Check if the effect is enforced.
|
|
Adds the specified observer to the list of observers to be notified when the effect object changes state.
|
|
Internal function to unpack effect data.
Implemented in CAudioEqualizer, CBassBoost, CDistanceAttenuation, CDoppler, CEnvironmentalReverb, CLocation, CLoudness, COrientation, CRoomLevel, and CStereoWidening. |
|
|
Removes the specified observer from the list of observers.
|
|
|
|
|