From de0ece65f2040c826781315bf5472700c385223d Mon Sep 17 00:00:00 2001 From: Suyeon Hwang Date: Tue, 2 May 2023 15:58:28 +0900 Subject: [PATCH] Set status vconf when the synthesis is started Change-Id: Ifc99b3dcfe0383c9f2f7118711b579707b0fd599 Signed-off-by: Suyeon Hwang --- server/ttsd_server.c | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.34.1