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