diff options
| author | 2010-02-05 17:23:44 -0800 | |
|---|---|---|
| committer | 2010-02-05 17:23:44 -0800 | |
| commit | 6004edc67c94a0d034dfb8981b7d4b7a0172a814 (patch) | |
| tree | 88aa90094c4d6e6bce0e9f854425234934c898c0 | |
| parent | f6a5c0999d79a52d2f8b4160a802e2aba08467cb (diff) | |
| parent | f5c87b386c839ccc9974bcb7f636aa2f8c14f78d (diff) | |
Merge "Fixing a bug with the TextToSpeech speech queue processing. The queue processor should not be called for the next item until synthesis has actually happened for the current item; before it was being incorrectly called regardless of whether or not the synthesizer had processed the current item."
| -rwxr-xr-x | packages/TtsService/src/android/tts/TtsService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/TtsService/src/android/tts/TtsService.java b/packages/TtsService/src/android/tts/TtsService.java index 1efa5a3e5179..b7eea2e3d5bc 100755 --- a/packages/TtsService/src/android/tts/TtsService.java +++ b/packages/TtsService/src/android/tts/TtsService.java @@ -802,8 +802,8 @@ public class TtsService extends Service implements OnCompletionListener { } if (synthAvailable) { synthesizerLock.unlock(); + processSpeechQueue(); } - processSpeechQueue(); } } } @@ -882,8 +882,8 @@ public class TtsService extends Service implements OnCompletionListener { } if (synthAvailable) { synthesizerLock.unlock(); + processSpeechQueue(); } - processSpeechQueue(); } } } |