mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-09 16:01:12 +00:00
Report the eSpeak version in the main activity.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2011 Google Inc.
|
||||
* Copyright (C) 2012 Reece H. Dunn
|
||||
* Copyright (C) 2012-2013 Reece H. Dunn
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -162,6 +162,13 @@ JNICALL Java_com_reecedunn_espeak_SpeechSynthesis_nativeDestroy(
|
||||
return JNI_TRUE;
|
||||
}
|
||||
|
||||
JNIEXPORT jobject
|
||||
JNICALL Java_com_reecedunn_espeak_SpeechSynthesis_nativeGetVersion(
|
||||
JNIEnv *env, jclass clazz) {
|
||||
if (DEBUG) LOGV("%s", __FUNCTION__);
|
||||
return env->NewStringUTF(espeak_Info(NULL));
|
||||
}
|
||||
|
||||
JNIEXPORT jint
|
||||
JNICALL Java_com_reecedunn_espeak_SpeechSynthesis_nativeGetSampleRate(
|
||||
JNIEnv *env, jobject object) {
|
||||
|
||||
Reference in New Issue
Block a user