2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: This file contains definitions of audio effects data structures for
15 * Distance Attenuation.
21 #ifndef DISTANCEATTENUATIONDATA_H
22 #define DISTANCEATTENUATIONDATA_H
26 #include <AudioEffectData.h>
31 * This class defines the effect data structure to be passed between client and
34 * @lib DistanceAttenuationEffect.lib
37 class TEfDistanceAttenuation : public TEfCommon
44 TEfDistanceAttenuation() {}
49 TEfDistanceAttenuation( TInt32 aRMin, TInt32 aRMax, TBool aMuteAfterMax,
50 TUint32 aRollOffFactor, TUint32 aRoomRollOffFactor) :
51 iRMax(aRMax), iRMin(aRMin), iMuteAfterMax(aMuteAfterMax),
52 iRollOffFactor(aRollOffFactor), iRoomRollOffFactor(aRoomRollOffFactor) {}
58 TUint32 iRollOffFactor;
59 TUint32 iRoomRollOffFactor;
60 TUint32 iRollOffFactorMax;
61 TUint32 iRoomRollOffFactorMax;
65 typedef TPckgBuf<TEfDistanceAttenuation> TEfDistanceAttenuationDataPckg;
67 #endif // DISTANCEATTENUATIONDATA_H