equal
deleted
inserted
replaced
|
1 /* |
|
2 haptics_chipset_api.h |
|
3 |
|
4 Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
5 All rights reserved. |
|
6 |
|
7 This program and the accompanying materials are made available |
|
8 under the terms of the Eclipse Public License v1.0 which accompanies |
|
9 this distribution, and is available at |
|
10 http://www.eclipse.org/legal/epl-v10.html |
|
11 |
|
12 Initial Contributors: |
|
13 Nokia Corporation - initial contribution. |
|
14 |
|
15 Contributors: |
|
16 */ |
|
17 |
|
18 #ifndef HAPTICS_CHIPSET_API_H |
|
19 #define HAPTICS_CHIPSET_API_H |
|
20 |
|
21 #ifdef __cplusplus |
|
22 extern "C" { |
|
23 #endif /* __cplusplus */ |
|
24 |
|
25 |
|
26 /* Each OMX header must include all required header files to allow the |
|
27 * header to compile without errors. The includes below are required |
|
28 * for this header file to compile successfully |
|
29 */ |
|
30 |
|
31 #include <OMX_Audio.h> |
|
32 |
|
33 typedef struct OMX_AUDIO_PARAM_HAPTICSDRIVERPROPERTIESTYPE |
|
34 { |
|
35 OMX_U32 nSize; |
|
36 OMX_VERSIONTYPE nVersion; |
|
37 OMX_U32 nPortIndex; |
|
38 OMX_U32 nNativeSamplingRate; |
|
39 OMX_U32 nHapticsDriverNominalVoltage; |
|
40 OMX_U32 nHapticsDriverImpedance; |
|
41 } OMX_AUDIO_PARAM_HAPTICSDRIVERPROPERTIESTYPE; |
|
42 |
|
43 #ifdef __cplusplus |
|
44 } |
|
45 #endif /* __cplusplus */ |
|
46 |
|
47 #endif |