Merge "Adding the old legacy method for getTtsEngine for Froyo compatibility."

This commit is contained in:
Charles Chen
2010-07-14 15:37:50 -07:00
committed by Android (Google) Code Review

View File

@@ -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.