1 | /* DO NOT EDIT THIS FILE - it is machine generated */ |
2 | #include <jni.h> |
3 | /* Header for class com_sun_media_sound_DirectAudioDevice */ |
4 | |
5 | #ifndef _Included_com_sun_media_sound_DirectAudioDevice |
6 | #define _Included_com_sun_media_sound_DirectAudioDevice |
7 | #ifdef __cplusplus |
8 | extern "C" { |
9 | #endif |
10 | #undef com_sun_media_sound_DirectAudioDevice_PCM |
11 | #define com_sun_media_sound_DirectAudioDevice_PCM 0L |
12 | #undef com_sun_media_sound_DirectAudioDevice_ULAW |
13 | #define com_sun_media_sound_DirectAudioDevice_ULAW 1L |
14 | #undef com_sun_media_sound_DirectAudioDevice_ALAW |
15 | #define com_sun_media_sound_DirectAudioDevice_ALAW 2L |
16 | #undef com_sun_media_sound_DirectAudioDevice_CLIP_BUFFER_TIME |
17 | #define com_sun_media_sound_DirectAudioDevice_CLIP_BUFFER_TIME 1000L |
18 | #undef com_sun_media_sound_DirectAudioDevice_DEFAULT_LINE_BUFFER_TIME |
19 | #define com_sun_media_sound_DirectAudioDevice_DEFAULT_LINE_BUFFER_TIME 500L |
20 | /* |
21 | * Class: com_sun_media_sound_DirectAudioDevice |
22 | * Method: nGetFormats |
23 | * Signature: (IIZLjava/util/Vector;)V |
24 | */ |
25 | JNIEXPORT void JNICALL Java_com_sun_media_sound_DirectAudioDevice_nGetFormats |
26 | (JNIEnv *, jclass, jint, jint, jboolean, jobject); |
27 | |
28 | /* |
29 | * Class: com_sun_media_sound_DirectAudioDevice |
30 | * Method: nOpen |
31 | * Signature: (IIZIFIIIZZI)J |
32 | */ |
33 | JNIEXPORT jlong JNICALL Java_com_sun_media_sound_DirectAudioDevice_nOpen |
34 | (JNIEnv *, jclass, jint, jint, jboolean, jint, jfloat, jint, jint, jint, jboolean, jboolean, jint); |
35 | |
36 | /* |
37 | * Class: com_sun_media_sound_DirectAudioDevice |
38 | * Method: nStart |
39 | * Signature: (JZ)V |
40 | */ |
41 | JNIEXPORT void JNICALL Java_com_sun_media_sound_DirectAudioDevice_nStart |
42 | (JNIEnv *, jclass, jlong, jboolean); |
43 | |
44 | /* |
45 | * Class: com_sun_media_sound_DirectAudioDevice |
46 | * Method: nStop |
47 | * Signature: (JZ)V |
48 | */ |
49 | JNIEXPORT void JNICALL Java_com_sun_media_sound_DirectAudioDevice_nStop |
50 | (JNIEnv *, jclass, jlong, jboolean); |
51 | |
52 | /* |
53 | * Class: com_sun_media_sound_DirectAudioDevice |
54 | * Method: nClose |
55 | * Signature: (JZ)V |
56 | */ |
57 | JNIEXPORT void JNICALL Java_com_sun_media_sound_DirectAudioDevice_nClose |
58 | (JNIEnv *, jclass, jlong, jboolean); |
59 | |
60 | /* |
61 | * Class: com_sun_media_sound_DirectAudioDevice |
62 | * Method: nWrite |
63 | * Signature: (J[BIIIFF)I |
64 | */ |
65 | JNIEXPORT jint JNICALL Java_com_sun_media_sound_DirectAudioDevice_nWrite |
66 | (JNIEnv *, jclass, jlong, jbyteArray, jint, jint, jint, jfloat, jfloat); |
67 | |
68 | /* |
69 | * Class: com_sun_media_sound_DirectAudioDevice |
70 | * Method: nRead |
71 | * Signature: (J[BIII)I |
72 | */ |
73 | JNIEXPORT jint JNICALL Java_com_sun_media_sound_DirectAudioDevice_nRead |
74 | (JNIEnv *, jclass, jlong, jbyteArray, jint, jint, jint); |
75 | |
76 | /* |
77 | * Class: com_sun_media_sound_DirectAudioDevice |
78 | * Method: nGetBufferSize |
79 | * Signature: (JZ)I |
80 | */ |
81 | JNIEXPORT jint JNICALL Java_com_sun_media_sound_DirectAudioDevice_nGetBufferSize |
82 | (JNIEnv *, jclass, jlong, jboolean); |
83 | |
84 | /* |
85 | * Class: com_sun_media_sound_DirectAudioDevice |
86 | * Method: nIsStillDraining |
87 | * Signature: (JZ)Z |
88 | */ |
89 | JNIEXPORT jboolean JNICALL Java_com_sun_media_sound_DirectAudioDevice_nIsStillDraining |
90 | (JNIEnv *, jclass, jlong, jboolean); |
91 | |
92 | /* |
93 | * Class: com_sun_media_sound_DirectAudioDevice |
94 | * Method: nFlush |
95 | * Signature: (JZ)V |
96 | */ |
97 | JNIEXPORT void JNICALL Java_com_sun_media_sound_DirectAudioDevice_nFlush |
98 | (JNIEnv *, jclass, jlong, jboolean); |
99 | |
100 | /* |
101 | * Class: com_sun_media_sound_DirectAudioDevice |
102 | * Method: nAvailable |
103 | * Signature: (JZ)I |
104 | */ |
105 | JNIEXPORT jint JNICALL Java_com_sun_media_sound_DirectAudioDevice_nAvailable |
106 | (JNIEnv *, jclass, jlong, jboolean); |
107 | |
108 | /* |
109 | * Class: com_sun_media_sound_DirectAudioDevice |
110 | * Method: nGetBytePosition |
111 | * Signature: (JZJ)J |
112 | */ |
113 | JNIEXPORT jlong JNICALL Java_com_sun_media_sound_DirectAudioDevice_nGetBytePosition |
114 | (JNIEnv *, jclass, jlong, jboolean, jlong); |
115 | |
116 | /* |
117 | * Class: com_sun_media_sound_DirectAudioDevice |
118 | * Method: nSetBytePosition |
119 | * Signature: (JZJ)V |
120 | */ |
121 | JNIEXPORT void JNICALL Java_com_sun_media_sound_DirectAudioDevice_nSetBytePosition |
122 | (JNIEnv *, jclass, jlong, jboolean, jlong); |
123 | |
124 | /* |
125 | * Class: com_sun_media_sound_DirectAudioDevice |
126 | * Method: nRequiresServicing |
127 | * Signature: (JZ)Z |
128 | */ |
129 | JNIEXPORT jboolean JNICALL Java_com_sun_media_sound_DirectAudioDevice_nRequiresServicing |
130 | (JNIEnv *, jclass, jlong, jboolean); |
131 | |
132 | /* |
133 | * Class: com_sun_media_sound_DirectAudioDevice |
134 | * Method: nService |
135 | * Signature: (JZ)V |
136 | */ |
137 | JNIEXPORT void JNICALL Java_com_sun_media_sound_DirectAudioDevice_nService |
138 | (JNIEnv *, jclass, jlong, jboolean); |
139 | |
140 | #ifdef __cplusplus |
141 | } |
142 | #endif |
143 | #endif |
144 | |