epoc32/include/dopplerdata.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files

/*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* 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
* which accompanies this distribution, and is available
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  This file contains definitions of audio effects data structures for
*                doppler.
*
*/



#ifndef DOPPLERDATA_H
#define DOPPLERDATA_H

//  INCLUDES
#include <e32std.h>
#include <AudioEffectData.h>

// CLASS DECLARATION

/**
*  This class defines the effect data structure to be passed between client and
*  server.
*
*  @lib DopplerUtility.lib
*  @since 3.0
*/



class TEfDoppler : public TEfCommon
    {
    public:

        /**
        * Constructor.
        */
        TEfDoppler() {}

        /**
        * Constructor.
        */
        TEfDoppler( TInt32 aVelocityX, TInt32 aVelocityY, TInt32 aVelocityZ, TInt32 aAzimuth,
                    TInt32 aElevation, TInt32 aRadius, TUint32 aFactor, TUint32 aMaxFactor ) :
        			iVelocityX(aVelocityX), iVelocityY(aVelocityY), iVelocityZ(aVelocityZ),
        			iAzimuth(aAzimuth), iElevation(aElevation), iRadius(aRadius), iFactor(aFactor),
        			iMaxFactor(aMaxFactor) {}

		TInt32 iVelocityX;
		TInt32 iVelocityY;
		TInt32 iVelocityZ;
		TInt32 iAzimuth;
		TInt32 iElevation;
		TInt32 iRadius;
		TUint32 iFactor;
		TUint32 iMaxFactor;

    };

typedef TPckgBuf<TEfDoppler> TEfDopplerDataPckg;

#endif      // DOPPLERDATA_H

// End of File