CDistanceAttenuation Class Reference
class CDistanceAttenuation : public CAudioEffect
|
This is the Distance Attenuation effect class for managing audio Distance Attenuation settings.
DistanceAttenuationEffect.lib
-
Since
-
3.0
Constructor & Destructor Documentation
CDistanceAttenuation()
IMPORT_C
|
CDistanceAttenuation
|
(
|
)
|
[protected]
|
Private C++ constructor for this class.
-
Since
-
3.0
~CDistanceAttenuation()
IMPORT_C
|
~CDistanceAttenuation
|
(
|
)
|
[virtual]
|
Member Functions Documentation
DistanceAttenuation(TInt32 &, TInt32 &, TBool &, TUint32 &, TUint32 &)
Gets the Distance Attenuation of the listener.
-
Since
-
3.0
Parameters
TInt32
& aRMin
|
The source-to-listener distance below which the sound level is constant
|
TInt32
& aRMax
|
The source-to-listener distance above which the sound level is constant or zero
|
TBool
& aMuteAfterMax
|
Indicate if the sound is muted beyond RMax
|
TUint32
& aRollOffFactor
|
Multiplier factor to source-to-listener distance
|
TUint32
& 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
NewL(CMdaAudioConvertUtility &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
Parameters
CMdaAudioConvertUtility & aUtility
|
A reference to a convert utility
|
NewL(CMdaAudioInputStream &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
NewL(CMdaAudioOutputStream &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
NewL(CMdaAudioPlayerUtility &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
NewL(CMdaAudioRecorderUtility &, TBool)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
Parameters
CMdaAudioRecorderUtility & aUtility
|
A reference to an audio record utility
|
TBool
aRecordStream
|
ETrue if the effect is to be applied to the recording, EFalse if the effect is to be applied only to the playback
|
NewL(CMMFDevSound &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
NewL(CMdaAudioToneUtility &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
NewL(CCustomCommandUtility *)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
NewL(MCustomInterface &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
NewL(CMidiClientUtility &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
Parameters
CMidiClientUtility & aUtility
|
A reference to a CMidiClientUtility
|
NewL(CDrmPlayerUtility &)
Factory function for creating the distance attenuation object.
-
Since
-
3.0
NewL(CVideoPlayerUtility &)
Factory function for creating the distance attenuation object.
-
Since
-
3.2
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
Parameters
TInt32
aRMin
|
The source-to-listener distance below which the sound level is constant
|
TInt32
aRMax
|
The source-to-listener distance above which the sound level is constant or zero
|
TBool
aMuteAfterMax
|
Indicate if the sound is muted beyond RMax
|
TUint32
aRollOffFactor
|
Multiplier factor to source-to-listener distance
|
TUint32
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
Parameters
const
TDesC8
& aEffectDataBuffer
|
Descriptor containing packed effect data
|
Uid()
IMPORT_C
TUid
|
Uid
|
(
|
)
|
const [virtual]
|
Member Data Documentation
TEfDistanceAttenuationDataPckg
iDataPckgFrom
TEfDistanceAttenuationDataPckg
iDataPckgTo
TEfDistanceAttenuation
iDistanceAttenuationData
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.