Set status vconf when the synthesis is started 39/292439/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 8 May 2023 06:15:02 +0000 (15:15 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Mon, 8 May 2023 06:18:00 +0000 (15:18 +0900)
Change-Id: Id6152a67321c63d917fb763a5837e35f5ea36386
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/ttsd_server.c

index 3ddcfd9..e92c6bf 100644 (file)
@@ -168,6 +168,9 @@ static void __synthesis(unsigned int uid)
        }
 
        if (ttsd_data_get_synth_control() == TTSD_SYNTHESIS_CONTROL_DOING && ttsd_state_get_state() == TTSD_STATE_READY) {
+               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);
+
                ttsd_state_set_state(TTSD_STATE_SYNTHESIZING);
        }