projects
/
platform
/
core
/
uifw
/
tts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56d12c
)
Stop player thread when an error occurs
24/299624/1
author
Suyeon Hwang
<stom.hwang@samsung.com>
Thu, 5 Oct 2023 12:18:12 +0000
(21:18 +0900)
committer
Suyeon Hwang
<stom.hwang@samsung.com>
Thu, 5 Oct 2023 12:18:12 +0000
(21:18 +0900)
Change-Id: Iac55d6e61df0b9020d2db9f85e568df73809a898
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/ttsd_server.c
patch
|
blob
|
history
diff --git
a/server/ttsd_server.c
b/server/ttsd_server.c
index
fd97cf3
..
bf24c21
100644
(file)
--- a/
server/ttsd_server.c
+++ b/
server/ttsd_server.c
@@
-227,6
+227,10
@@
int ttsd_send_error(ttse_error_e error, const char* msg)
ttsd_data_set_synth_control(TTSD_SYNTHESIS_CONTROL_EXPIRED);
+ if (0 != ttsd_player_stop(uid)) {
+ SLOG(LOG_WARN, tts_tag(), "[Server] Fail to stop for uid(%u)", uid);
+ }
+
if (0 != ttsd_data_clear_data(uid))
SLOG(LOG_WARN, tts_tag(), "[Server] Fail to ttsd_data_clear_data()");