epoc32/include/dopplerdata.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 dopplerdata.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 *                doppler.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef DOPPLERDATA_H
       
    22 #define DOPPLERDATA_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 DopplerUtility.lib
       
    35 *  @since 3.0
       
    36 */
       
    37 
       
    38 
       
    39 
       
    40 class TEfDoppler : public TEfCommon
       
    41     {
       
    42     public:
       
    43 
       
    44         /**
       
    45         * Constructor.
       
    46         */
       
    47         TEfDoppler() {}
       
    48 
       
    49         /**
       
    50         * Constructor.
       
    51         */
       
    52         TEfDoppler( TInt32 aVelocityX, TInt32 aVelocityY, TInt32 aVelocityZ, TInt32 aAzimuth,
       
    53                     TInt32 aElevation, TInt32 aRadius, TUint32 aFactor, TUint32 aMaxFactor ) :
       
    54         			iVelocityX(aVelocityX), iVelocityY(aVelocityY), iVelocityZ(aVelocityZ),
       
    55         			iAzimuth(aAzimuth), iElevation(aElevation), iRadius(aRadius), iFactor(aFactor),
       
    56         			iMaxFactor(aMaxFactor) {}
       
    57 
       
    58 		TInt32 iVelocityX;
       
    59 		TInt32 iVelocityY;
       
    60 		TInt32 iVelocityZ;
       
    61 		TInt32 iAzimuth;
       
    62 		TInt32 iElevation;
       
    63 		TInt32 iRadius;
       
    64 		TUint32 iFactor;
       
    65 		TUint32 iMaxFactor;
       
    66 
       
    67     };
       
    68 
       
    69 typedef TPckgBuf<TEfDoppler> TEfDopplerDataPckg;
       
    70 
       
    71 #endif      // DOPPLERDATA_H
       
    72 
       
    73 // End of File