mm_pub/audio_effects_api/inc/DopplerData.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 17:22:44 +0300
changeset 18 72dc595b34a8
parent 0 40261b775718
permissions -rw-r--r--
Revision: 201019 Kit: 201019

/*
* 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 "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.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