APP_STATE_PAUSED
} app_tts_state_e;
+typedef enum {
+ TTSD_SYNTHESIS_CONTROL_DOING = 0,
+ TTSD_SYNTHESIS_CONTROL_DONE = 1,
+ TTSD_SYNTHESIS_CONTROL_EXPIRED = 2
+} ttsd_synthesis_control_e;
+
typedef struct {
int utt_id;
char* text;
int channels;
} sound_data_s;
+int ttsd_set_synth_control(ttsd_synthesis_control_e control);
+
+ttsd_synthesis_control_e ttsd_get_synth_control();
+
typedef void (* ttsd_used_voice_cb)(const char* lang, int type);
int ttsd_data_new_client(int pid, int uid);
int ttsd_data_get_speak_data_size(int uid);
-int ttsd_data_clear_speak_data(speak_data_s** speak_data);
+int ttsd_data_clear_speak_data(int uid, speak_data_s** speak_data);
/* sound data */
int ttsd_data_add_sound_data(int uid, sound_data_s* data);