sl@0: /* sl@0: * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: This file contains definitions of audio effects data structures for sl@0: * Distance Attenuation. sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: #ifndef DISTANCEATTENUATIONDATA_H sl@0: #define DISTANCEATTENUATIONDATA_H sl@0: sl@0: // INCLUDES sl@0: #include sl@0: #include sl@0: sl@0: // CLASS DECLARATION sl@0: sl@0: /** sl@0: * This class defines the effect data structure to be passed between client and sl@0: * server. sl@0: * sl@0: * @lib DistanceAttenuationEffect.lib sl@0: * @since 3.0 sl@0: */ sl@0: class TEfDistanceAttenuation : public TEfCommon sl@0: { sl@0: public: sl@0: sl@0: /** sl@0: * Constructor. sl@0: */ sl@0: TEfDistanceAttenuation() {} sl@0: sl@0: /** sl@0: * Constructor. sl@0: */ sl@0: TEfDistanceAttenuation( TInt32 aRMin, TInt32 aRMax, TBool aMuteAfterMax, sl@0: TUint32 aRollOffFactor, TUint32 aRoomRollOffFactor) : sl@0: iRMax(aRMax), iRMin(aRMin), iMuteAfterMax(aMuteAfterMax), sl@0: iRollOffFactor(aRollOffFactor), iRoomRollOffFactor(aRoomRollOffFactor) {} sl@0: sl@0: // Data sl@0: TInt32 iRMin; sl@0: TInt32 iRMax; sl@0: TBool iMuteAfterMax; sl@0: TUint32 iRollOffFactor; sl@0: TUint32 iRoomRollOffFactor; sl@0: TUint32 iRollOffFactorMax; sl@0: TUint32 iRoomRollOffFactorMax; sl@0: sl@0: }; sl@0: sl@0: typedef TPckgBuf TEfDistanceAttenuationDataPckg; sl@0: sl@0: #endif // DISTANCEATTENUATIONDATA_H sl@0: sl@0: // End of File