Initialize country and dialect specific engines.
This commit is contained in:
parent
271ab07c15
commit
ab026da313
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case TextToSpeech.LANG_AVAILABLE:
|
case TextToSpeech.LANG_AVAILABLE:
|
||||||
|
case TextToSpeech.LANG_COUNTRY_AVAILABLE:
|
||||||
|
case TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE:
|
||||||
mTts.setLanguage(new Locale(language));
|
mTts.setLanguage(new Locale(language));
|
||||||
break;
|
break;
|
||||||
case TextToSpeech.LANG_NOT_SUPPORTED:
|
case TextToSpeech.LANG_NOT_SUPPORTED:
|
||||||
|
|
Loading…
Reference in a new issue