1.1 --- a/epoc32/include/distanceattenuationdata.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/distanceattenuationdata.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,69 @@
1.4 -distanceattenuationdata.h
1.5 +/*
1.6 +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: This file contains definitions of audio effects data structures for
1.19 +* Distance Attenuation.
1.20 +*
1.21 +*/
1.22 +
1.23 +
1.24 +
1.25 +#ifndef DISTANCEATTENUATIONDATA_H
1.26 +#define DISTANCEATTENUATIONDATA_H
1.27 +
1.28 +// INCLUDES
1.29 +#include <e32std.h>
1.30 +#include <AudioEffectData.h>
1.31 +
1.32 +// CLASS DECLARATION
1.33 +
1.34 +/**
1.35 +* This class defines the effect data structure to be passed between client and
1.36 +* server.
1.37 +*
1.38 +* @lib DistanceAttenuationEffect.lib
1.39 +* @since 3.0
1.40 +*/
1.41 +class TEfDistanceAttenuation : public TEfCommon
1.42 + {
1.43 + public:
1.44 +
1.45 + /**
1.46 + * Constructor.
1.47 + */
1.48 + TEfDistanceAttenuation() {}
1.49 +
1.50 + /**
1.51 + * Constructor.
1.52 + */
1.53 + TEfDistanceAttenuation( TInt32 aRMin, TInt32 aRMax, TBool aMuteAfterMax,
1.54 + TUint32 aRollOffFactor, TUint32 aRoomRollOffFactor) :
1.55 + iRMax(aRMax), iRMin(aRMin), iMuteAfterMax(aMuteAfterMax),
1.56 + iRollOffFactor(aRollOffFactor), iRoomRollOffFactor(aRoomRollOffFactor) {}
1.57 +
1.58 + // Data
1.59 + TInt32 iRMin;
1.60 + TInt32 iRMax;
1.61 + TBool iMuteAfterMax;
1.62 + TUint32 iRollOffFactor;
1.63 + TUint32 iRoomRollOffFactor;
1.64 + TUint32 iRollOffFactorMax;
1.65 + TUint32 iRoomRollOffFactorMax;
1.66 +
1.67 + };
1.68 +
1.69 +typedef TPckgBuf<TEfDistanceAttenuation> TEfDistanceAttenuationDataPckg;
1.70 +
1.71 +#endif // DISTANCEATTENUATIONDATA_H
1.72 +
1.73 +// End of File