summaryrefslogtreecommitdiffstats
path: root/pico/compat
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
* use LOCAL_PATH properlyJoe Onorato2012-07-211-6/+2
| | | | Change-Id: I5a177116b976be159042cab51c297861f275daa2
* Add libmedia_nativeGlenn Kasten2012-03-161-1/+2
| | | | Change-Id: I0a3dcd2f6e983b09e93eabb529b56c3de5a9c0f7
* Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE"Steve Block2012-01-091-8/+8
|\
| * Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-061-8/+8
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I24cb51849561ed5ebe3d8f87bd62deb034b86244
* | 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
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-6/+1
| | | | | | Bug: 5010576 Change-Id: Ia539a6a831a7d500d0c5336438e0bc0ff5854bf0
* Update pico to use the new TTS API.Narayan Kamath2011-06-083-12/+14
| | | | Change-Id: Ied389be15bfcd1a1c3ed289a0b1d6c7f7913629a
* Break dependency between pico and the audio system.Narayan Kamath2011-05-193-6/+22
| | | | | | | | | The TTS engine should use only TTS defined constants, and not constants from the audiosystem. This happened to work because PCM_16_BIT in native was the same as DEFAULT in java, which happened to be PCM_16_BIT. Change-Id: I0f43a46afff8c45d1eb18c1beaab62dce87b8055
* svox: convert to use new audio.hDima Zavin2011-04-191-1/+1
| | | | | Change-Id: Id8e69601a0812a6a0034774adde672bb70662c6a Signed-off-by: Dima Zavin <dima@android.com>
* 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-156-0/+1609
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