williamr@2
|
1 |
/*
|
williamr@2
|
2 |
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
3 |
* All rights reserved.
|
williamr@2
|
4 |
* This component and the accompanying materials are made available
|
williamr@2
|
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
|
williamr@2
|
6 |
* which accompanies this distribution, and is available
|
williamr@2
|
7 |
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
|
williamr@2
|
8 |
*
|
williamr@2
|
9 |
* Initial Contributors:
|
williamr@2
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@2
|
11 |
*
|
williamr@2
|
12 |
* Contributors:
|
williamr@2
|
13 |
*
|
williamr@2
|
14 |
* Description: This file contains definitions of audio effects data structures for
|
williamr@2
|
15 |
* doppler.
|
williamr@2
|
16 |
*
|
williamr@2
|
17 |
*/
|
williamr@2
|
18 |
|
williamr@2
|
19 |
|
williamr@2
|
20 |
|
williamr@2
|
21 |
#ifndef DOPPLERDATA_H
|
williamr@2
|
22 |
#define DOPPLERDATA_H
|
williamr@2
|
23 |
|
williamr@2
|
24 |
// INCLUDES
|
williamr@2
|
25 |
#include <e32std.h>
|
williamr@2
|
26 |
#include <AudioEffectData.h>
|
williamr@2
|
27 |
|
williamr@2
|
28 |
// CLASS DECLARATION
|
williamr@2
|
29 |
|
williamr@2
|
30 |
/**
|
williamr@2
|
31 |
* This class defines the effect data structure to be passed between client and
|
williamr@2
|
32 |
* server.
|
williamr@2
|
33 |
*
|
williamr@2
|
34 |
* @lib DopplerUtility.lib
|
williamr@2
|
35 |
* @since 3.0
|
williamr@2
|
36 |
*/
|
williamr@2
|
37 |
|
williamr@2
|
38 |
|
williamr@2
|
39 |
|
williamr@2
|
40 |
class TEfDoppler : public TEfCommon
|
williamr@2
|
41 |
{
|
williamr@2
|
42 |
public:
|
williamr@2
|
43 |
|
williamr@2
|
44 |
/**
|
williamr@2
|
45 |
* Constructor.
|
williamr@2
|
46 |
*/
|
williamr@2
|
47 |
TEfDoppler() {}
|
williamr@2
|
48 |
|
williamr@2
|
49 |
/**
|
williamr@2
|
50 |
* Constructor.
|
williamr@2
|
51 |
*/
|
williamr@2
|
52 |
TEfDoppler( TInt32 aVelocityX, TInt32 aVelocityY, TInt32 aVelocityZ, TInt32 aAzimuth,
|
williamr@2
|
53 |
TInt32 aElevation, TInt32 aRadius, TUint32 aFactor, TUint32 aMaxFactor ) :
|
williamr@2
|
54 |
iVelocityX(aVelocityX), iVelocityY(aVelocityY), iVelocityZ(aVelocityZ),
|
williamr@2
|
55 |
iAzimuth(aAzimuth), iElevation(aElevation), iRadius(aRadius), iFactor(aFactor),
|
williamr@2
|
56 |
iMaxFactor(aMaxFactor) {}
|
williamr@2
|
57 |
|
williamr@2
|
58 |
TInt32 iVelocityX;
|
williamr@2
|
59 |
TInt32 iVelocityY;
|
williamr@2
|
60 |
TInt32 iVelocityZ;
|
williamr@2
|
61 |
TInt32 iAzimuth;
|
williamr@2
|
62 |
TInt32 iElevation;
|
williamr@2
|
63 |
TInt32 iRadius;
|
williamr@2
|
64 |
TUint32 iFactor;
|
williamr@2
|
65 |
TUint32 iMaxFactor;
|
williamr@2
|
66 |
|
williamr@2
|
67 |
};
|
williamr@2
|
68 |
|
williamr@2
|
69 |
typedef TPckgBuf<TEfDoppler> TEfDopplerDataPckg;
|
williamr@2
|
70 |
|
williamr@2
|
71 |
#endif // DOPPLERDATA_H
|
williamr@2
|
72 |
|
williamr@2
|
73 |
// End of File
|