projects
/
platform
/
core
/
uifw
/
stt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add file name checker and Fix dbus type and bt return
[platform/core/uifw/stt.git]
/
server
/
sttd_recorder.c
diff --git
a/server/sttd_recorder.c
b/server/sttd_recorder.c
index
387308c
..
7d0f190
100755
(executable)
--- a/
server/sttd_recorder.c
+++ b/
server/sttd_recorder.c
@@
-595,7
+595,7
@@
int sttd_recorder_stop()
g_recorder->uid = -1;
g_recorder->uid = -1;
- int ret;
+ int ret
= -1
;
#ifndef TV_BT_MODE
ret = audio_in_unprepare(g_recorder->audio_h);
if (AUDIO_IO_ERROR_NONE != ret) {
#ifndef TV_BT_MODE
ret = audio_in_unprepare(g_recorder->audio_h);
if (AUDIO_IO_ERROR_NONE != ret) {
@@
-615,12
+615,13
@@
int sttd_recorder_stop()
usleep(50000);
bt_retry++;
} else {
usleep(50000);
bt_retry++;
} else {
+ SLOG(LOG_ERROR, TAG_STTD, "[Recorder ERROR] bt_hid_rc_stop_sending_voice(): ret(%d)", ret);
break;
}
}
if (false == stopped) {
break;
}
}
if (false == stopped) {
- SLOG(LOG_ERROR, TAG_STTD, "[Recorder ERROR] Fail to stop bt audio
"
);
-
return STTD_ERROR_OPERATION_FAILED;
+ SLOG(LOG_ERROR, TAG_STTD, "[Recorder ERROR] Fail to stop bt audio
(%d)", ret
);
+
//
return STTD_ERROR_OPERATION_FAILED;
}
#endif
}
#endif