TtsService: support detecting SSML documents

This commit is contained in:
Reece H. Dunn
2013-03-14 16:53:22 +00:00
parent 1ac6d04c48
commit 4d44e88dd2
3 changed files with 18 additions and 7 deletions
@@ -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();