Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 039a9ae3 authored by Charles Chen's avatar Charles Chen
Browse files

Adding the old legacy method for getTtsEngine for Froyo compatibility.

Change-Id: I1f29f1b670137daff0c153e9f7ecdb7bfb2b5ff6
parent 26dd7b3b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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.