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
[ACR-1449] Add new api to set audio type
[platform/core/uifw/stt.git]
/
common
/
stt_engine.h
diff --git
a/common/stt_engine.h
b/common/stt_engine.h
index
f8b1a08
..
b345aed
100644
(file)
--- a/
common/stt_engine.h
+++ b/
common/stt_engine.h
@@
-61,7
+61,7
@@
int stt_engine_need_app_credential(bool* need);
int stt_engine_support_recognition_type(const char* type, bool* support);
int stt_engine_support_recognition_type(const char* type, bool* support);
-int stt_engine_get_audio_
type
(stte_audio_type_e* types, int* rate, int* channels);
+int stt_engine_get_audio_
format
(stte_audio_type_e* types, int* rate, int* channels);
/* Set option */
int stt_engine_set_silence_detection(bool value);
/* Set option */
int stt_engine_set_silence_detection(bool value);
@@
-100,6
+100,9
@@
int stt_engine_set_private_data_set_cb(stte_private_data_set_cb private_data_set
int stt_engine_set_private_data_requested_cb(stte_private_data_requested_cb private_data_requested_cb, void* user_data);
int stt_engine_set_private_data_requested_cb(stte_private_data_requested_cb private_data_requested_cb, void* user_data);
+int stt_engine_set_audio_type(const char* audio_type);
+
+int stt_engine_set_audio_type_set_cb(stte_audio_type_cb audio_type_set_cb, void* user_data);
#ifdef __cplusplus
}
#ifdef __cplusplus
}