From 039a9ae320f0df32df33964ca1afe5fb52e4305d Mon Sep 17 00:00:00 2001 From: Charles Chen Date: Wed, 14 Jul 2010 15:20:07 -0700 Subject: [PATCH] Adding the old legacy method for getTtsEngine for Froyo compatibility. Change-Id: I1f29f1b670137daff0c153e9f7ecdb7bfb2b5ff6 --- native/include/android/tts.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/native/include/android/tts.h b/native/include/android/tts.h index e5c99f7f8243c..fb15108e00fec 100644 --- a/native/include/android/tts.h +++ b/native/include/android/tts.h @@ -87,6 +87,11 @@ typedef struct { */ extern android_tts_engine_t *android_getTtsEngine(); +/* Including the old version for legacy support (Froyo compatibility). + * This should return the same thing as android_getTtsEngine. + */ +extern "C" android_tts_engine_t *getTtsEngine(); + // A callback type used to notify the framework of new synthetized // audio samples, status will be SYNTH_DONE for the last sample of // the last request, of SYNTH_PENDING otherwise.