Merge pull request #569 from maxerickson/patch-1

Initialize country and dialect specific engines.
This commit is contained in:
vshcherb 2014-01-17 05:50:32 -08:00
commit cd28aaabaa

View file

@ -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: