projects
/
platform
/
core
/
accessibility
/
screen-reader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
384cb30
)
screen_reader_tts: added missing error check on tts_play call
49/260849/2
accepted/tizen/6.0/unified/20210707.130400
submit/tizen_6.0/20210707.020922
author
Maria Bialota
<m.bialota@samsung.com>
Mon, 5 Jul 2021 12:51:12 +0000
(14:51 +0200)
committer
Maria Białota
<m.bialota@samsung.com>
Tue, 6 Jul 2021 16:51:17 +0000
(16:51 +0000)
Change-Id: I4798ffec806b69f4a94f7c868edbcce38523f388
(cherry picked from commit
41ce96e1d8f370bd5a1a0a4690756e95e5dc1193
)
src/screen_reader_tts.c
patch
|
blob
|
history
diff --git
a/src/screen_reader_tts.c
b/src/screen_reader_tts.c
index 599863d68764ee33335471ebca09f533a24d498a..346fae4d7ee850923f16da675438d3d73607238d 100644
(file)
--- a/
src/screen_reader_tts.c
+++ b/
src/screen_reader_tts.c
@@
-531,7
+531,11
@@
send_command_to_tts(TWData *tw, tts_state_e state)
if (chunk_accepted) {
DEBUG("Chunk accepted id %d", ctx->last_id);
command->is_playing = EINA_TRUE;
- if (state == TTS_STATE_READY) tts_play(tw->tts);
+ if (state == TTS_STATE_READY) {
+ int ret = tts_play(tw->tts);
+ if (TTS_ERROR_NONE != ret)
+ ERROR("tts_play failed! result(%d)", ret);
+ }
#ifndef SCREEN_READER_TV
/* TODO This is not proper way and place to do this. */