Initialize country and dialect specific engines.

This commit is contained in:
maxerickson 2014-01-17 07:40:05 -05:00
parent 271ab07c15
commit ab026da313

View file

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