os/mm/mm_pub/audio_effects_api/inc/DistanceAttenuationData.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mm_pub/audio_effects_api/inc/DistanceAttenuationData.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,69 @@
     1.4 +/*
     1.5 +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:  This file contains definitions of audio effects data structures for
    1.18 +*                Distance Attenuation.
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +
    1.24 +#ifndef DISTANCEATTENUATIONDATA_H
    1.25 +#define DISTANCEATTENUATIONDATA_H
    1.26 +
    1.27 +//  INCLUDES
    1.28 +#include <e32std.h>
    1.29 +#include <AudioEffectData.h>
    1.30 +
    1.31 +// CLASS DECLARATION
    1.32 +
    1.33 +/**
    1.34 +*  This class defines the effect data structure to be passed between client and
    1.35 +*  server.
    1.36 +*
    1.37 +*  @lib DistanceAttenuationEffect.lib
    1.38 +*  @since 3.0
    1.39 +*/
    1.40 +class TEfDistanceAttenuation : public TEfCommon
    1.41 +    {
    1.42 +    public:
    1.43 +
    1.44 +        /**
    1.45 +        * Constructor.
    1.46 +        */
    1.47 +        TEfDistanceAttenuation() {}
    1.48 +
    1.49 +        /**
    1.50 +        * Constructor.
    1.51 +        */
    1.52 +        TEfDistanceAttenuation( TInt32 aRMin, TInt32 aRMax, TBool aMuteAfterMax,
    1.53 +        						TUint32 aRollOffFactor, TUint32 aRoomRollOffFactor) :
    1.54 +        			 			iRMax(aRMax), iRMin(aRMin), iMuteAfterMax(aMuteAfterMax),
    1.55 +        			 			iRollOffFactor(aRollOffFactor), iRoomRollOffFactor(aRoomRollOffFactor) {}
    1.56 +
    1.57 +    	// Data
    1.58 +		TInt32 iRMin;
    1.59 +		TInt32 iRMax;
    1.60 +		TBool iMuteAfterMax;
    1.61 +		TUint32 iRollOffFactor;
    1.62 +		TUint32 iRoomRollOffFactor;
    1.63 +		TUint32 iRollOffFactorMax;
    1.64 +		TUint32 iRoomRollOffFactorMax;
    1.65 +
    1.66 +    };
    1.67 +
    1.68 +typedef TPckgBuf<TEfDistanceAttenuation> TEfDistanceAttenuationDataPckg;
    1.69 +
    1.70 +#endif      // DISTANCEATTENUATIONDATA_H
    1.71 +
    1.72 +// End of File