CDistanceAttenuation Class Reference
#include
<DistanceAttenuationBase.h>
Link against: DistanceAttenuationEffect.lib
class CDistanceAttenuation : public CAudioEffect |
Detailed Description
This is the Distance Attenuation effect class for managing audio Distance Attenuation settings.
Member Attribute Documentation
Constructor & Destructor Documentation
CDistanceAttenuation ( )
IMPORT_C | CDistanceAttenuation | ( | ) | [protected] |
Private C++ constructor for this class.
- Since
- 3.0
~CDistanceAttenuation ( )
IMPORT_C | ~CDistanceAttenuation | ( | ) | [virtual] |
Member Function Documentation
DistanceAttenuation ( TInt32 &, TInt32 &, TBool &, TUint32 &, TUint32 & )
Gets the Distance Attenuation of the listener.
- Since
- 3.0
Parameter | Description | aRMin | The source-to-listener distance below which the sound level is constant |
aRMax | The source-to-listener distance above which the sound level is constant or zero |
aMuteAfterMax | Indicate if the sound is muted beyond RMax |
aRollOffFactor | Multiplier factor to source-to-listener distance |
aRoomRollOffFactor | Multiplier factor to source-to-listener distance for Room effect. |
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 ( CMdaAudioConvertUtility & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to a convert utility |
Returns: pointer to CDistanceAttenuation object
NewL ( CMdaAudioInputStream & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio input stream utility |
Returns: pointer to CDistanceAttenuation object
NewL ( CMdaAudioOutputStream & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio output stream utility |
Returns: pointer to CDistanceAttenuation object
NewL ( CMdaAudioPlayerUtility & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio player utility |
Returns: pointer to CDistanceAttenuation object
NewL ( CMdaAudioRecorderUtility &, TBool )
Factory function for creating the distance attenuation 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 CDistanceAttenuation object
NewL ( CMMFDevSound & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aDevSound | A reference to a DevSound instance |
Returns: pointer to CDistanceAttenuation object
NewL ( CMdaAudioToneUtility & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio tone utility |
Returns: pointer to CDistanceAttenuation object
NewL ( CCustomCommandUtility * )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to a custom command utility |
Returns: pointer to CDistanceAttenuation object
NewL ( MCustomInterface & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aCustomInterface | A reference to a custom interface |
Returns: pointer to CDistanceAttenuation object
NewL ( CMidiClientUtility & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to a CMidiClientUtility |
Returns: pointer to CDistanceAttenuation object
NewL ( CDrmPlayerUtility & )
Factory function for creating the distance attenuation object.
- Since
- 3.0
Returns: pointer to CDistanceAttenuation object
NewL ( CVideoPlayerUtility & )
Factory function for creating the distance attenuation object.
- Since
- 3.2
Returns: pointer to CDistanceAttenuation object
RollOffFactorMax ( TUint32 & )
IMPORT_C void | RollOffFactorMax | ( | TUint32 & | aRollOfFactorMax | ) | |
Get roll off factor maximum value.
- Since
- 3.0
RoomRollOffFactorMax ( TUint32 & )
IMPORT_C void | RoomRollOffFactorMax | ( | TUint32 & | aRoomRollOfFactorMax | ) | |
Get room roll off factor maximum value.
- Since
- 3.0
SetDistanceAttenuationL ( TInt32, TInt32, TBool, TUint32, TUint32 )
Sets the Distance Attenuation
- Since
- 3.0
Parameter | Description | aRMin | The source-to-listener distance below which the sound level is constant |
aRMax | The source-to-listener distance above which the sound level is constant or zero |
aMuteAfterMax | Indicate if the sound is muted beyond RMax |
aRollOffFactor | Multiplier factor to source-to-listener distance |
aRoomRollOffFactor | Multiplier factor to source-to-listener distance for Room effect. |
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] |