Set status vconf when the synthesis is started 45/292245/1 tizen_6.5
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 2 May 2023 06:58:28 +0000 (15:58 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 2 May 2023 06:58:28 +0000 (15:58 +0900)
Change-Id: Ifc99b3dcfe0383c9f2f7118711b579707b0fd599
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/ttsd_server.c

index 8820e746d08a4c8da0277d50d9081f65d13ed656..10e4f61e7431ef8a0141a77e43cbd9c5af000cb8 100644 (file)
@@ -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);