#endif
-typedef void (*stt_engine_result_cb)(stte_result_event_e event, const char* type, const char** data, int data_count,
+typedef int (*stt_engine_result_cb)(stte_result_event_e event, const char* type, const char** data, int data_count,
const char* msg, void* time_info, void* user_data);
/*
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);
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
}