Set status vconf when the synthesis is started 36/292436/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:15:02 +0000 (15:15 +0900)
Change-Id: Id6152a67321c63d917fb763a5837e35f5ea36386
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/ttsd_server.c

index 3602a18f948558a80e506452f993fe10d8850988..050486d93c2ab1e592fc8b41352d11635289e983 100644 (file)
@@ -167,6 +167,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);
        }