summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-29 10:04:09 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-06-29 10:04:09 -0700
commitbd9aa793b19f7aa529ca4123492f8940b96486b8 (patch)
tree558dee159943dc4817dd7be4bef246af9c9b7a42 /packages
parentc25dbf88fc21c707b72502c43695c2c31ff22a23 (diff)
parent287148b80b1eb0e248994410cb24ecce5edda386 (diff)
downloadframeworks_base-bd9aa793b19f7aa529ca4123492f8940b96486b8.zip
frameworks_base-bd9aa793b19f7aa529ca4123492f8940b96486b8.tar.gz
frameworks_base-bd9aa793b19f7aa529ca4123492f8940b96486b8.tar.bz2
Merge change 5593 into donut
* changes: Add in TTS engine interface the methods to query the availability for a language, to set the synthesis audio format, to query the current language, country and variant setting.
Diffstat (limited to 'packages')
-rw-r--r--packages/TtsService/jni/android_tts_SynthProxy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/TtsService/jni/android_tts_SynthProxy.cpp b/packages/TtsService/jni/android_tts_SynthProxy.cpp
index 8537cae..27c0021 100644
--- a/packages/TtsService/jni/android_tts_SynthProxy.cpp
+++ b/packages/TtsService/jni/android_tts_SynthProxy.cpp
@@ -547,7 +547,8 @@ android_tts_SynthProxy_getLanguage(JNIEnv *env, jobject thiz, jint jniData)
memset(buf, 0, bufSize);
// TODO check return codes
if (pSynthData->mNativeSynthInterface) {
- pSynthData->mNativeSynthInterface->getLanguage(buf, &bufSize);
+ // TODO use the correct getLanguage()
+ //pSynthData->mNativeSynthInterface->getLanguage(buf, &bufSize);
}
return env->NewStringUTF(buf);
}