summaryrefslogtreecommitdiffstats
path: root/pico/compat/src/com/android/tts
Commit message (Collapse)AuthorAgeFilesLines
* PicoTTS: Set mNativeSynth prior to TextToSpeechService#onCreateHEADreplicant-4.2-0004replicant-4.2Jorge Ruesga2012-12-211-1/+7
| | | | | | | | | | The variable mNativeSynth is used by TextToSpeechService#onCreate so it must be set prior to that call. Otherwise, the method TextToSpeech#onIsLanguageAvailable will return TextToSpeech.ERROR because the synthesizer is not ready. AOSP Change: https://android-review.googlesource.com/#/c/42781 Change-Id: I86fbfa7d928e5206b8fe88ec209f6a54fee4ffa0
* Fix onLoadLanguage, should actually load the language.Narayan Kamath2012-01-061-1/+4
| | | | | | | | Would still work earlier because onSynthesizeText would load the right language, but getLanguage() would return the wrong language. Change-Id: Ic0e65ca3725aa1c06bf6eed88eaf823671477932
* Update pico to use the new TTS API.Narayan Kamath2011-06-082-10/+12
| | | | Change-Id: Ied389be15bfcd1a1c3ed289a0b1d6c7f7913629a
* Clean JNI data pointer in shutdown()Bjorn Bringert2011-04-191-1/+2
| | | | | | | | Before, finalize() after shutdown() could segfault since shutdown() kept the pointer to the deleted SynthProxyJniStorage. Change-Id: I338c19758733425be2e3b0d9e66176d11d27e8f6
* Use new SynthesisRequest.error()Bjorn Bringert2011-04-191-6/+15
| | | | Change-Id: Ia634e6c84870ad6c2d1665da796adcd9cdc4ec8f
* Port Pico to new TTS engine APIBjorn Bringert2011-04-152-0/+328
Requires TTS engine API added in change I7614ff788e11f897e87052f684f1b4938d539fb7 The compatibility layer in pico/compat/src/com/android/tts/compat/SynthProxy.java pico/compat/jni/com_android_tts_compat_SynthProxy.cpp is based on these files removed from the old TTS engine framework: frameworks/base/packages/TtsService/src/android/tts/SynthProxy.java frameworks/base/packages/TtsService/jni/android_tts_SynthProxy.cpp Bug: 4150618 Change-Id: I7a2cca6b5cfbac6158a87fad69cc796140adb2f3