@@ -131,7 +131,7 @@ static struct whisper_context *whisper_init_from_asset(
131
131
}
132
132
133
133
JNIEXPORT jlong JNICALL
134
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_initContextFromAsset (
134
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_initContextFromAsset (
135
135
JNIEnv * env , jobject thiz , jobject assetManager , jstring asset_path_str ) {
136
136
UNUSED (thiz );
137
137
struct whisper_context * context = NULL ;
@@ -142,7 +142,7 @@ Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_initContextFromAsset(
142
142
}
143
143
144
144
JNIEXPORT jlong JNICALL
145
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_initContext (
145
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_initContext (
146
146
JNIEnv * env , jobject thiz , jstring model_path_str ) {
147
147
UNUSED (thiz );
148
148
struct whisper_context * context = NULL ;
@@ -153,7 +153,7 @@ Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_initContext(
153
153
}
154
154
155
155
JNIEXPORT void JNICALL
156
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_freeContext (
156
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_freeContext (
157
157
JNIEnv * env , jobject thiz , jlong context_ptr ) {
158
158
UNUSED (env );
159
159
UNUSED (thiz );
@@ -162,7 +162,7 @@ Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_freeContext(
162
162
}
163
163
164
164
JNIEXPORT void JNICALL
165
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_fullTranscribe (
165
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_fullTranscribe (
166
166
JNIEnv * env , jobject thiz , jlong context_ptr , jint num_threads , jfloatArray audio_data ) {
167
167
UNUSED (thiz );
168
168
struct whisper_context * context = (struct whisper_context * ) context_ptr ;
@@ -194,7 +194,7 @@ Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_fullTranscribe(
194
194
}
195
195
196
196
JNIEXPORT jint JNICALL
197
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_getTextSegmentCount (
197
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_getTextSegmentCount (
198
198
JNIEnv * env , jobject thiz , jlong context_ptr ) {
199
199
UNUSED (env );
200
200
UNUSED (thiz );
@@ -203,7 +203,7 @@ Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_getTextSegmentCount(
203
203
}
204
204
205
205
JNIEXPORT jstring JNICALL
206
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_getTextSegment (
206
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_getTextSegment (
207
207
JNIEnv * env , jobject thiz , jlong context_ptr , jint index ) {
208
208
UNUSED (thiz );
209
209
struct whisper_context * context = (struct whisper_context * ) context_ptr ;
@@ -213,7 +213,7 @@ Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_getTextSegment(
213
213
}
214
214
215
215
JNIEXPORT jstring JNICALL
216
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_getSystemInfo (
216
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_getSystemInfo (
217
217
JNIEnv * env , jobject thiz
218
218
) {
219
219
UNUSED (thiz );
@@ -223,15 +223,15 @@ Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_getSystemInfo(
223
223
}
224
224
225
225
JNIEXPORT jstring JNICALL
226
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_benchMemcpy (JNIEnv * env , jobject thiz ,
226
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_benchMemcpy (JNIEnv * env , jobject thiz ,
227
227
jint n_threads ) {
228
228
UNUSED (thiz );
229
229
const char * bench_ggml_memcpy = whisper_bench_memcpy_str (n_threads );
230
230
jstring string = (* env )-> NewStringUTF (env , bench_ggml_memcpy );
231
231
}
232
232
233
233
JNIEXPORT jstring JNICALL
234
- Java_com_whispercppdemo_whisper_WhisperLib_00024Companion_benchGgmlMulMat (JNIEnv * env , jobject thiz ,
234
+ Java_com_whispercpp_whisper_WhisperLib_00024Companion_benchGgmlMulMat (JNIEnv * env , jobject thiz ,
235
235
jint n_threads ) {
236
236
UNUSED (thiz );
237
237
const char * bench_ggml_mul_mat = whisper_bench_ggml_mul_mat_str (n_threads );
0 commit comments