mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-19 02:57:05 +00:00
Use en-JM instead of en-029 and es-MX instead of es-419.
Android does not support UN M.49 territory codes. Instead: * 4.2 and earlier return an empty string; * 4.3 throws a MissingResourceException.
This commit is contained in:
@@ -47,10 +47,10 @@ public class TextToSpeechTestCase extends AndroidTestCase
|
||||
{
|
||||
try
|
||||
{
|
||||
// Wait until the text-to-speech engine is initialised (max: 5 seconds):
|
||||
// Wait until the text-to-speech engine is initialised (max: 20 seconds):
|
||||
|
||||
mEngine = new TextToSpeech(getContext(), mInitCallback);
|
||||
for (int count = 0; !mInitialised && count < 20; ++count)
|
||||
for (int count = 0; !mInitialised && count < (4 * 20); ++count)
|
||||
{
|
||||
Thread.sleep(250);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user