mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 07:03:12 +00:00
TtsService: support detecting SSML documents
This commit is contained in:
@@ -179,8 +179,8 @@ public class SpeechSynthesis {
|
||||
nativeSetPitch(pitch);
|
||||
}
|
||||
|
||||
public void synthesize(String text) {
|
||||
nativeSynthesize(text);
|
||||
public void synthesize(String text, boolean isSsml) {
|
||||
nativeSynthesize(text, isSsml);
|
||||
}
|
||||
|
||||
public void stop() {
|
||||
@@ -257,7 +257,7 @@ public class SpeechSynthesis {
|
||||
|
||||
private native final boolean nativeSetPitch(int pitch);
|
||||
|
||||
private native final boolean nativeSynthesize(String text);
|
||||
private native final boolean nativeSynthesize(String text, boolean isSsml);
|
||||
|
||||
private native final boolean nativeStop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user