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 parameter for stte_unset_audio_type_set_cb to fix issue for utc
[platform/core/uifw/stt.git]
/
server
/
stte.c
diff --git
a/server/stte.c
b/server/stte.c
index
4827465
..
c623b6a
100755
(executable)
--- a/
server/stte.c
+++ b/
server/stte.c
@@
-125,14
+125,14
@@
int stte_set_audio_type_set_cb(stte_audio_type_cb callback, void* user_data)
return ret;
}
return ret;
}
-int stte_unset_audio_type_set_cb(
void
)
+int stte_unset_audio_type_set_cb(
stte_audio_type_cb callback
)
{
SLOG(LOG_INFO, TAG_STTD, "[Server Info] Unset audio type set callback");
int ret = STTE_ERROR_NONE;
{
SLOG(LOG_INFO, TAG_STTD, "[Server Info] Unset audio type set callback");
int ret = STTE_ERROR_NONE;
- ret = stt_engine_set_audio_type_set_cb(
NULL
, NULL);
+ ret = stt_engine_set_audio_type_set_cb(
callback
, NULL);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_STTD, "[Server ERROR] Fail to unset audio type set");
}
return ret;
if (0 != ret) {
SLOG(LOG_ERROR, TAG_STTD, "[Server ERROR] Fail to unset audio type set");
}
return ret;
-}
\ No newline at end of file
+}