From: Suyeon Hwang Date: Tue, 2 May 2023 06:58:28 +0000 (+0900) Subject: Set status vconf when the synthesis is started X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de0ece65f2040c826781315bf5472700c385223d;p=platform%2Fcore%2Fuifw%2Ftts.git Set status vconf when the synthesis is started Change-Id: Ifc99b3dcfe0383c9f2f7118711b579707b0fd599 Signed-off-by: Suyeon Hwang --- diff --git a/server/ttsd_server.c b/server/ttsd_server.c index 8820e746..10e4f61e 100644 --- a/server/ttsd_server.c +++ b/server/ttsd_server.c @@ -154,6 +154,11 @@ static int __synthesis(unsigned int uid) g_wait_timer = ecore_timer_add(0.05, __wait_synthesis, NULL); } + if (ttsd_get_synth_control() == TTSD_SYNTHESIS_CONTROL_DOING) { + int ret = vconf_set_bool(TTS_PLAYING_STATUS_KEY, 1); + SLOG(LOG_INFO, tts_tag(), "[Server] Synthesis starting. Set playing status (True). ret(%d)", ret); + } + free(credential); credential = NULL; ttsd_data_clear_speak_data(&speak_data);