epoc32/include/distanceattenuationdata.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 distanceattenuationdata.h
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * 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
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  This file contains definitions of audio effects data structures for
       
    15 *                Distance Attenuation.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef DISTANCEATTENUATIONDATA_H
       
    22 #define DISTANCEATTENUATIONDATA_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32std.h>
       
    26 #include <AudioEffectData.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  This class defines the effect data structure to be passed between client and
       
    32 *  server.
       
    33 *
       
    34 *  @lib DistanceAttenuationEffect.lib
       
    35 *  @since 3.0
       
    36 */
       
    37 class TEfDistanceAttenuation : public TEfCommon
       
    38     {
       
    39     public:
       
    40 
       
    41         /**
       
    42         * Constructor.
       
    43         */
       
    44         TEfDistanceAttenuation() {}
       
    45 
       
    46         /**
       
    47         * Constructor.
       
    48         */
       
    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) {}
       
    53 
       
    54     	// Data
       
    55 		TInt32 iRMin;
       
    56 		TInt32 iRMax;
       
    57 		TBool iMuteAfterMax;
       
    58 		TUint32 iRollOffFactor;
       
    59 		TUint32 iRoomRollOffFactor;
       
    60 		TUint32 iRollOffFactorMax;
       
    61 		TUint32 iRoomRollOffFactorMax;
       
    62 
       
    63     };
       
    64 
       
    65 typedef TPckgBuf<TEfDistanceAttenuation> TEfDistanceAttenuationDataPckg;
       
    66 
       
    67 #endif      // DISTANCEATTENUATIONDATA_H
       
    68 
       
    69 // End of File