Initialize type of app data
[platform/core/uifw/tts.git] / server / ttsd_data.cpp
index 4e37cd7..658387f 100644 (file)
@@ -166,11 +166,12 @@ int ttsd_data_new_client(int pid, unsigned int uid)
        app.uid = uid;
        app.utt_id_stopped = 0;
        app.state = APP_STATE_READY;
+       app.type = TTS_APP_PLAY_TYPE_SYNTH;
        app.mode = TTSD_MODE_DEFAULT;
+       app.result_event = TTSE_RESULT_EVENT_FAIL;
        app.ipc_method = TTS_IPC_METHOD_UNDEFINED;
        app.credential = nullptr;
        app.paused_data_existing = false;
-       app.result_event = TTSE_RESULT_EVENT_FAIL;
 
        g_app_list.push_back(app);