From 6cd59da3b299299fa081e8cb306de95afdbcc807 Mon Sep 17 00:00:00 2001 From: Suyeon Hwang Date: Mon, 7 Nov 2022 13:47:24 +0900 Subject: [PATCH] Remove logs making delay of IPC - Issue: Sometimes, the IPC request from client is delayed. - Solution: By the priority of the process, app manager APIs can be delayed. Thus, this patch removes some logs that needs to invoke app manager APIs. Through this patch, the IPC requests will be invoked directly without any delay. Change-Id: I19feed1a444364da4f54a729b72ab562a5ea2865 Signed-off-by: Suyeon Hwang --- client/tts_core.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/client/tts_core.c b/client/tts_core.c index ae1a3d0..cf30fff 100644 --- a/client/tts_core.c +++ b/client/tts_core.c @@ -1191,9 +1191,6 @@ int tts_core_add_text(tts_client_s* client, const char* text, const char* langua RETVM_IF(NULL == text || NULL == utt_id, TTS_ERROR_INVALID_PARAMETER, "[ERROR] Parameter is invalid."); RETVM_IF(false == tts_client_is_valid_client(client), TTS_ERROR_INVALID_PARAMETER, "[ERROR] Client is invalid."); - bool is_launched = __is_engine_launched(); - SLOG(LOG_ERROR, TAG_TTSC, "[INFO] tts engine is launched(%d)", is_launched); - tts_client_set_repeat_text(client, text); if (NULL != g_language) { @@ -1212,9 +1209,6 @@ int tts_core_play(tts_client_s* client) { RETVM_IF(false == tts_client_is_valid_client(client), TTS_ERROR_INVALID_PARAMETER, "[ERROR] Client is invalid."); - bool is_launched = __is_engine_launched(); - SLOG(LOG_ERROR, TAG_TTSC, "[INFO] tts engine is launched(%d)", is_launched); - return __request_play(client); } @@ -1222,9 +1216,6 @@ int tts_core_stop(tts_client_s* client) { RETVM_IF(false == tts_client_is_valid_client(client), TTS_ERROR_INVALID_PARAMETER, "[ERROR] Client is invalid."); - bool is_launched = __is_engine_launched(); - SLOG(LOG_ERROR, TAG_TTSC, "[INFO] tts engine is launched(%d)", is_launched); - unsigned int uid = tts_client_get_uid(client); int ret = -1; tts_client_set_reprepared(client, false); -- 2.7.4