diff -r 000000000000 -r 40261b775718 mm_pub/audio_effects_api/inc/DopplerData.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mm_pub/audio_effects_api/inc/DopplerData.h Tue Feb 02 01:56:55 2010 +0200 @@ -0,0 +1,73 @@ +/* +* 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 +#include + +// 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 TEfDopplerDataPckg; + +#endif // DOPPLERDATA_H + +// End of File