mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-08 23:47:27 +00:00
nativeSetLanguage is not used, so remove the associated code
This commit is contained in:
@@ -111,12 +111,6 @@ public class SpeechSynthesis {
|
||||
nativeSetVoiceByProperties(name, languages, gender, age, variant);
|
||||
}
|
||||
|
||||
public void setLanguage(String language, int variant) {
|
||||
attemptInit();
|
||||
|
||||
nativeSetLanguage(language, variant);
|
||||
}
|
||||
|
||||
public void setRate(int rate) {
|
||||
nativeSetRate(rate);
|
||||
}
|
||||
@@ -185,8 +179,6 @@ public class SpeechSynthesis {
|
||||
private native final boolean nativeSetVoiceByProperties(
|
||||
String name, String languages, int gender, int age, int variant);
|
||||
|
||||
private native final boolean nativeSetLanguage(String language, int variant);
|
||||
|
||||
private native final boolean nativeSetRate(int rate);
|
||||
|
||||
private native final boolean nativeSetPitch(int pitch);
|
||||
|
||||
Reference in New Issue
Block a user