mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
TtsService: onSynthesizeText does not need to set the language (this is done by setLanguage/setVoice
This commit is contained in:
@@ -258,7 +258,7 @@ public class TtsService extends TextToSpeechService {
|
||||
|
||||
@Override
|
||||
protected synchronized void onSynthesizeText(SynthesisRequest request, SynthesisCallback callback) {
|
||||
if (selectVoice(request) == TextToSpeech.ERROR)
|
||||
if (mMatchingVoice == null)
|
||||
return;
|
||||
|
||||
String text = getRequestString(request);
|
||||
|
||||
Reference in New Issue
Block a user