-
Notifications
You must be signed in to change notification settings - Fork 66
/
andmodplug_PlayerThread.h
225 lines (200 loc) · 7.51 KB
/
andmodplug_PlayerThread.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_peculiargames_andmodplug_PlayerThread */
#ifndef _Included_com_peculiargames_andmodplug_PlayerThread
#define _Included_com_peculiargames_andmodplug_PlayerThread
#ifdef __cplusplus
extern "C" {
#endif
#undef com_peculiargames_andmodplug_PlayerThread_MIN_PRIORITY
#define com_peculiargames_andmodplug_PlayerThread_MIN_PRIORITY 1L
#undef com_peculiargames_andmodplug_PlayerThread_NORM_PRIORITY
#define com_peculiargames_andmodplug_PlayerThread_NORM_PRIORITY 5L
#undef com_peculiargames_andmodplug_PlayerThread_MAX_PRIORITY
#define com_peculiargames_andmodplug_PlayerThread_MAX_PRIORITY 10L
#undef com_peculiargames_andmodplug_PlayerThread_PATTERN_CHANGE_IMMEDIATE
#define com_peculiargames_andmodplug_PlayerThread_PATTERN_CHANGE_IMMEDIATE 1L
#undef com_peculiargames_andmodplug_PlayerThread_PATTERN_CHANGE_AFTER_CURRENT
#define com_peculiargames_andmodplug_PlayerThread_PATTERN_CHANGE_AFTER_CURRENT 2L
#undef com_peculiargames_andmodplug_PlayerThread_PATTERN_CHANGE_AFTER_GROUP
#define com_peculiargames_andmodplug_PlayerThread_PATTERN_CHANGE_AFTER_GROUP 3L
#undef com_peculiargames_andmodplug_PlayerThread_BUFFERSIZE
#define com_peculiargames_andmodplug_PlayerThread_BUFFERSIZE 20000L
#undef com_peculiargames_andmodplug_PlayerThread_NUM_RATES
#define com_peculiargames_andmodplug_PlayerThread_NUM_RATES 5L
#undef com_peculiargames_andmodplug_PlayerThread_EVENT_PLAYER_STARTED
#define com_peculiargames_andmodplug_PlayerThread_EVENT_PLAYER_STARTED 1L
#undef com_peculiargames_andmodplug_PlayerThread_EVENT_PATTERN_CHANGE
#define com_peculiargames_andmodplug_PlayerThread_EVENT_PATTERN_CHANGE 2L
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_Init
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1Init
(JNIEnv *, jclass, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_JLoad
* Signature: ([BI)Z
*/
JNIEXPORT jboolean JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1JLoad
(JNIEnv *, jobject, jbyteArray, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_JGetName
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1JGetName
(JNIEnv *, jobject);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_JNumChannels
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1JNumChannels
(JNIEnv *, jobject);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_JGetSoundData
* Signature: ([SI)I
*/
JNIEXPORT jint JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1JGetSoundData
(JNIEnv *, jobject, jshortArray, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_JUnload
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1JUnload
(JNIEnv *, jclass);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_CloseDown
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1CloseDown
(JNIEnv *, jclass);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_GetNativeTempo
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1GetNativeTempo
(JNIEnv *, jclass);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_ChangeTempo
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1ChangeTempo
(JNIEnv *, jclass, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_SetTempo
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1SetTempo
(JNIEnv *, jclass, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_ChangePattern
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1ChangePattern
(JNIEnv *, jclass, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_RepeatPattern
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1RepeatPattern
(JNIEnv *, jclass, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_CheckPatternChange
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1CheckPatternChange
(JNIEnv *, jclass);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_SetPatternLoopMode
* Signature: (Z)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1SetPatternLoopMode
(JNIEnv *, jclass, jboolean);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_SetCurrentPattern
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1SetCurrentPattern
(JNIEnv *, jobject, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_SetNextPattern
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1SetNextPattern
(JNIEnv *, jobject, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_GetCurrentPos
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1GetCurrentPos
(JNIEnv *, jobject);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_GetMaxPos
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1GetMaxPos
(JNIEnv *, jobject);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_GetCurrentOrder
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1GetCurrentOrder
(JNIEnv *, jobject);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_GetCurrentPattern
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1GetCurrentPattern
(JNIEnv *, jobject);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_GetCurrentRow
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1GetCurrentRow
(JNIEnv *, jobject);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_SetPatternLoopRange
* Signature: (III)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1SetPatternLoopRange
(JNIEnv *, jclass, jint, jint, jint);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_LogOutput
* Signature: (Z)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1LogOutput
(JNIEnv *, jclass, jboolean);
/*
* Class: com_peculiargames_andmodplug_PlayerThread
* Method: ModPlug_SetLoopCount
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_com_peculiargames_andmodplug_PlayerThread_ModPlug_1SetLoopCount
(JNIEnv *, jclass, jint);
#ifdef __cplusplus
}
#endif
#endif