diff options
author | Bjorn Bringert <bringert@android.com> | 2011-03-14 18:42:10 +0000 |
---|---|---|
committer | Bjorn Bringert <bringert@android.com> | 2011-04-15 09:57:18 +0100 |
commit | f41e1f808fbcf9014c0a5668fba4eff6dd051366 (patch) | |
tree | 41540ee669544331efd78d35f97dabed6a9cff9e /pico/tts/com_svox_picottsengine.cpp | |
parent | 8a1dd2de697c7e5fc3290d1115b51ed0bcdcd726 (diff) | |
download | external_svox-f41e1f808fbcf9014c0a5668fba4eff6dd051366.zip external_svox-f41e1f808fbcf9014c0a5668fba4eff6dd051366.tar.gz external_svox-f41e1f808fbcf9014c0a5668fba4eff6dd051366.tar.bz2 |
Port Pico to new TTS engine API
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
Diffstat (limited to 'pico/tts/com_svox_picottsengine.cpp')
-rw-r--r-- | pico/tts/com_svox_picottsengine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pico/tts/com_svox_picottsengine.cpp b/pico/tts/com_svox_picottsengine.cpp index 7ac4ec7..6c05d00 100644 --- a/pico/tts/com_svox_picottsengine.cpp +++ b/pico/tts/com_svox_picottsengine.cpp @@ -40,10 +40,12 @@ #include <utils/Log.h> #include <utils/String16.h> /* for strlen16 */ #include <android_runtime/AndroidRuntime.h> -#include <tts/TtsEngine.h> +#include <TtsEngine.h> + #include <cutils/jstring.h> #include <picoapi.h> #include <picodefs.h> + #include "svox_ssml_parser.h" using namespace android; |