CAudioEffect Class Reference
#include
<AudioEffectBase.h>
Link against: AudioEffectBase.lib
class CAudioEffect : public CBase |
Detailed Description
This is the base class for audio effects.
Member Attribute Documentation
iEnabled
TBool
| iEnabled | [protected] |
iEnforced
TBool
| iEnforced | [protected] |
iHaveUpdateRights
TBool
| iHaveUpdateRights | [protected] |
Constructor & Destructor Documentation
CAudioEffect ( )
IMPORT_C | CAudioEffect | ( | ) | [protected] |
Private C++ constructor for this class.
- Since
- 3.0
~CAudioEffect ( )
IMPORT_C | ~CAudioEffect | ( | ) | [virtual] |
Member Function Documentation
ApplyL ( )
void | ApplyL | ( | ) | [pure virtual] |
Apply effect settings
- Since
- 3.0
DisableL ( )
IMPORT_C void | DisableL | ( | ) | [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
Returns: A descriptor containing the effect data.
EnableL ( )
IMPORT_C void | EnableL | ( | ) | [virtual] |
Enable the effect
- Since
- 3.0
EnforceL ( TBool )
IMPORT_C void | EnforceL | ( | TBool | aEnforced | ) | [virtual] |
Enforce the effect.
- Since
- 3.0
Parameter | Description | aEnforced | Indicate the effect is to be enforced or not. ETrue = Enforced. |
HaveUpdateRights ( )
IMPORT_C TBool | HaveUpdateRights | ( | ) | 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
Returns: ETrue if this object currently has rights to update the settings of this effect, EFalse otherwise.
IsEnabled ( )
IMPORT_C TBool | IsEnabled | ( | ) | const [virtual] |
Check if the effect is enabled
- Since
- 3.0
Returns: ETrue if the effect is enabled, EFalse if the effect is disabled.
IsEnforced ( )
IMPORT_C TBool | IsEnforced | ( | ) | const [virtual] |
Check if the effect is enforced.
- Since
- 3.0
Returns: ETrue if the effect is enforced, EFalse if the effect isn ot enforced.
RegisterObserverL ( MAudioEffectObserver & )
Adds the specified observer to the list of observers to be notified when the effect object changes state.
- Since
- 3.0
Parameter | Description | aObserver | Object to be added to notifier list. |
SetEffectData ( const TDesC8 & )
void | SetEffectData | ( | const TDesC8 & | aEffectDataBuffer | ) | [protected, pure virtual] |
Internal function to unpack effect data
- Since
- 3.0
Parameter | Description | aEffectDataBuffer | Descriptor containing packed effect data |
Uid ( )
TUid
| Uid | ( | ) | const [pure virtual] |
UnRegisterObserver ( MAudioEffectObserver & )
Removes the specified observer from the list of observers.
- Since
- 3.0
Parameter | Description | aObserver | object to be removed. |