return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to initialize");
+
ret = g_engine->callback->initialize();
if (0 != ret) {
SLOG(LOG_ERROR, stt_tag(), "[Engine ERROR] Fail to initialize : %s", __stt_get_engine_error_code(ret));
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to deinitialize");
+
int ret;
ret = g_engine->callback->deinitialize();
if (0 != ret) {
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to support silence");
+
if (NULL == g_engine->callback->support_silence) {
SLOG(LOG_ERROR, stt_tag(), "[Engine ERROR] Invalid engine");
return STTE_ERROR_OPERATION_FAILED;
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to need app credential");
+
if (NULL == g_engine->callback->need_app_credential) {
SLOG(LOG_ERROR, stt_tag(), "[Engine ERROR] Invalid engine");
return STTE_ERROR_OPERATION_FAILED;
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to support recognition type, type(%s)", type);
+
int ret = STTE_ERROR_NONE;
ret = g_engine->callback->support_recognition_type(type, support);
if (0 != ret) {
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to get audio format");
+
int ret;
ret = g_engine->callback->get_audio_format(types, rate, channels);
if (0 != ret) {
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to set silence detection(%d)", value);
+
int ret = g_engine->callback->set_silence_detection(value);
if (STTE_ERROR_NOT_SUPPORTED_FEATURE == ret) {
SLOG(LOG_WARN, stt_tag(), "[Engine WARNING] Not support silence detection");
return 0;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to app agreed, appid(%s), is_agreed(%d)", appid, is_agreed);
+
int ret = g_engine->callback->check_app_agreed(appid, is_agreed);
if (0 != ret) {
SLOG(LOG_ERROR, stt_tag(), "[Engine ERROR] Fail to get app agreement : %s", __stt_get_engine_error_code(ret));
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to start, lang(%s), recognition_type(%s), credential(%s)", lang, recognition_type, credential);
+
int ret = g_engine->callback->start(lang, recognition_type, appid, credential, user_param);
if (0 != ret) {
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to stop");
+
int ret = g_engine->callback->stop();
if (0 != ret) {
SLOG(LOG_ERROR, stt_tag(), "[Engine ERROR] Fail to stop : %s", __stt_get_engine_error_code(ret));
return STTE_ERROR_OPERATION_FAILED;
}
+ SLOG(LOG_INFO, stt_tag(), "[Engine Info] request to cancel");
+
int ret = g_engine->callback->cancel();
if (0 != ret) {
SLOG(LOG_ERROR, stt_tag(), "[Engine ERROR] Fail to cancel : %s", __stt_get_engine_error_code(ret));
}
if (false == is_default_engine) {
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Current engine is not Default engine");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Current engine is not Default engine");
} else {
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Current engine is Default engine");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Current engine is Default engine");
}
/* Load engine */
#endif
g_engine_info->is_loaded = true;
- SECURE_SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent SUCCESS] The %s has been loaded !!!", g_engine_info->engine_name);
+ SECURE_SLOG(LOG_INFO, TAG_STTD, "[Engine Agent SUCCESS] The %s has been loaded !!!", g_engine_info->engine_name);
return 0;
}
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "g_default_language %s", g_default_language);
+ SLOG(LOG_INFO, TAG_STTD, "g_default_language %s", g_default_language);
int ret;
char* temp = NULL;
temp = strdup(lang);
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Start engine");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Start engine");
ret = stt_engine_recognize_start(temp, recognition_type, appid, credential, user_param);
if (NULL != temp) free(temp);
return ret;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Create recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Create recorder");
ret = sttd_recorder_create(atype, channels, rate);
if (0 != ret) {
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Start recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Start recorder");
int ret;
ret = sttd_recorder_start(uid);
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Start recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Start recorder");
int ret;
ret = sttd_recorder_start_file(uid, filepath);
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Stop recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Stop recorder");
int ret;
ret = sttd_recorder_stop_file();
if (0 != ret) {
}
#ifdef AUDIO_CREATE_ON_START
- SECURE_SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Destroy recorder");
+ SECURE_SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Destroy recorder");
if (0 != sttd_recorder_destroy())
SECURE_SLOG(LOG_WARN, TAG_STTD, "[Engine Agent] Fail to destroy recorder");
#endif
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent Success] Stop recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent Success] Stop recorder");
return 0;
}
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Stop recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Stop recorder");
int ret;
ret = sttd_recorder_stop();
if (0 != ret) {
SECURE_SLOG(LOG_WARN, TAG_STTD, "[Engine Agent] Fail to destroy recorder");
#endif
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent Success] Stop recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent Success] Stop recorder");
return 0;
}
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Stop engine");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Stop engine");
int ret;
ret = stt_engine_recognize_stop();
return ret;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent Success] Stop engine");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent Success] Stop engine");
return 0;
}
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Cancel engine");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Cancel engine");
int ret;
ret = stt_engine_recognize_cancel();
return ret;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Stop recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Stop recorder");
ret = sttd_recorder_stop();
if (0 != ret) {
}
#ifdef AUDIO_CREATE_ON_START
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Destroy recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Destroy recorder");
if (0 != sttd_recorder_destroy())
SECURE_SLOG(LOG_WARN, TAG_STTD, "[Engine Agent] Fail to destroy recorder");
#endif
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent Success] Cancel recognition");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent Success] Cancel recognition");
return 0;
}
return STTD_ERROR_ENGINE_NOT_FOUND;
}
- SECURE_SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Default engine uuid(%s)", g_engine_info->engine_uuid);
+ SECURE_SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Default engine uuid(%s)", g_engine_info->engine_uuid);
return 0;
}
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Get engine right : %s", *result ? "true" : "false");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Get engine right : %s", *result ? "true" : "false");
return 0;
}
static void __recorder_destroy_by_error_result(void *data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "[Engine Agent] Destroy recorder");
+ SLOG(LOG_INFO, TAG_STTD, "[Engine Agent] Destroy recorder");
if (0 != sttd_recorder_destroy())
SECURE_SLOG(LOG_WARN, TAG_STTD, "[Engine Agent] Fail to destroy recorder");
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] === Result time callback ===");
+ SLOG(LOG_INFO, TAG_STTD, "[Server] === Result time callback ===");
if (NULL != time_info) {
/* Get the time info */
}
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] ============================");
+ SLOG(LOG_INFO, TAG_STTD, "[Server] ============================");
ret = g_result_cb(event, type, result, result_count, msg, user_data);
*/
void __stop_by_silence(void *data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "===== Stop by silence detection");
+ SLOG(LOG_INFO, TAG_STTD, "===== Stop by silence detection");
int uid = 0;
SLOG(LOG_WARN, TAG_STTD, "[Server WARNING] uid is NOT valid");
}
- SLOG(LOG_DEBUG, TAG_STTD, "=====");
+ SLOG(LOG_INFO, TAG_STTD, "=====");
SLOG(LOG_DEBUG, TAG_STTD, " ");
return;
}
if (0 != uid && (APP_STATE_PROCESSING == state || APP_STATE_RECORDING == state)) {
+ SLOG(LOG_INFO, TAG_STTD, "===== cancel by internal");
/* cancel engine recognition */
ret = sttd_server_cancel(uid);
if (0 != ret) {
static void __cancel_by_error(void *data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "===== Cancel by error");
+ SLOG(LOG_INFO, TAG_STTD, "===== Cancel by error");
__cancel_recognition_internal();
void __server_audio_interrupt_callback()
{
- SLOG(LOG_DEBUG, TAG_STTD, "===== Cancel by sound interrupt");
+ SLOG(LOG_INFO, TAG_STTD, "===== Cancel by sound interrupt");
__cancel_recognition_internal();
void __cancel_by_no_record(void *data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "===== Cancel by no record");
+ SLOG(LOG_INFO, TAG_STTD, "===== Cancel by no record");
__cancel_recognition_internal();
// critical section
pthread_mutex_lock(&stte_result_mutex);
- SLOG(LOG_DEBUG, TAG_STTD, "===== RESULT event[%d] type[%s] data[%p] data_count[%d]", event, type, data, data_count);
+ SLOG(LOG_INFO, TAG_STTD, "===== RESULT event[%d] type[%s] data[%p] data_count[%d]", event, type, data, data_count);
/* check uid */
int uid = stt_client_get_current_recognition();
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] uid (%d), event(%d)", uid, event);
+ SLOG(LOG_INFO, TAG_STTD, "[Server] uid (%d), event(%d)", uid, event);
/* send result to client */
if (STTE_RESULT_EVENT_FINAL_RESULT == event) {
if (APP_STATE_PROCESSING != state) {
SLOG(LOG_WARN, TAG_STTD, "[Server WARNING] Current state is NOT 'Processing'.");
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] the size of result from engine is '%d'", data_count);
+ SLOG(LOG_INFO, TAG_STTD, "[Server] the size of result from engine is '%d'", data_count);
/* Delete timer for processing time out */
if (NULL != g_processing_timer) {
// stt_client_unset_current_recognition();
} else if (STTE_RESULT_EVENT_PARTIAL_RESULT == event) {
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] The partial result from engine is event[%d] data_count[%d]", event, data_count);
+ SLOG(LOG_INFO, TAG_STTD, "[Server] The partial result from engine is event[%d] data_count[%d]", event, data_count);
sttd_config_time_save();
sttd_config_time_reset();
/* nothing */
}
- SLOG(LOG_DEBUG, TAG_STTD, "=====");
+ SLOG(LOG_INFO, TAG_STTD, "=====");
SLOG(LOG_DEBUG, TAG_STTD, " ");
pthread_mutex_unlock(&stte_result_mutex);
{
pthread_mutex_lock(&stte_result_time_mutex);
- SECURE_SLOG(LOG_DEBUG, TAG_STTD, "[Server] index(%d) event(%d) text(%s) start(%ld) end(%ld)",
+ SECURE_SLOG(LOG_INFO, TAG_STTD, "[Server] index(%d) event(%d) text(%s) start(%ld) end(%ld)",
index, event, text, start_time, end_time);
int ret;
int __server_speech_status_callback(stte_speech_status_e status, void *user_param)
{
- SLOG(LOG_DEBUG, TAG_STTD, "===== Speech status detected Callback");
+ SLOG(LOG_INFO, TAG_STTD, "===== Speech status detected Callback");
int uid = stt_client_get_current_recognition();
if (0 != uid) {
SLOG(LOG_WARN, TAG_STTD, "[Server WARNING] Current recognition uid is not valid ");
}
- SLOG(LOG_DEBUG, TAG_STTD, "=====");
+ SLOG(LOG_INFO, TAG_STTD, "=====");
SLOG(LOG_DEBUG, TAG_STTD, " ");
return STTD_ERROR_NONE;
int __server_error_callback(stte_error_e error, const char* msg)
{
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] Error Callback is called");
+ SLOG(LOG_INFO, TAG_STTD, "[Server] Error Callback is called");
ecore_main_loop_thread_safe_call_async(__cancel_by_error, NULL);
return STTD_ERROR_NONE;
SLOG(LOG_ERROR, TAG_STTD, "[Server ERROR] Engine id is NULL");
return;
} else {
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] New default engine : %s", engine_id);
+ SLOG(LOG_INFO, TAG_STTD, "[Server] New default engine : %s", engine_id);
}
#if 0
SLOG(LOG_ERROR, TAG_STTD, "[Server ERROR] language is NULL");
return;
} else {
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] Get language changed : %s", language);
+ SLOG(LOG_INFO, TAG_STTD, "[Server] Get language changed : %s", language);
}
int ret = sttd_engine_agent_set_default_language(language);
void __sttd_server_silence_changed_cb(bool value, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] Get silence detection changed : %s", value ? "on" : "off");
+ SLOG(LOG_INFO, TAG_STTD, "[Server] Get silence detection changed : %s", value ? "on" : "off");
int ret = 0;
ret = sttd_engine_agent_set_silence_detection(value);
SLOG(LOG_WARN, TAG_STTD, "[Main Warning] Fail to create timer of client check");
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server SUCCESS] initialize");
+ SLOG(LOG_INFO, TAG_STTD, "[Server SUCCESS] initialize");
return 0;
}
SLOG(LOG_INFO, TAG_STTD, "[INFO] Delete ecore timer handle");
}
+ SLOG(LOG_INFO, TAG_STTD, "[Server SUCCESS] finalize");
+
return STTD_ERROR_NONE;
}
}
if (NULL != client_list) {
- SLOG(LOG_DEBUG, TAG_STTD, "===== Clean up client ");
+ SLOG(LOG_INFO, TAG_STTD, "===== Clean up client ");
__read_proc();
#endif
}
- SLOG(LOG_DEBUG, TAG_STTD, "=====");
+ SLOG(LOG_INFO, TAG_STTD, "=====");
SLOG(LOG_DEBUG, TAG_STTD, " ");
free(client_list);
{
int ret = STTD_ERROR_NONE;
+ SLOG(LOG_INFO, TAG_STTD, "[Server] server initialize");
+
/* check if uid is valid */
app_state_e state;
if (0 == sttd_client_get_state(uid, &state)) {
return ret;
}
+ SLOG(LOG_INFO, TAG_STTD, "[Server Success] server initialize");
+
return STTD_ERROR_NONE;
}
static Eina_Bool __quit_ecore_loop(void *data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] Quit");
+ SLOG(LOG_INFO, TAG_STTD, "[Server] Quit");
stt_network_finalize();
sttd_finalize();
sttd_dbus_close_connection();
ecore_main_loop_quit();
- SLOG(LOG_DEBUG, TAG_STTD, "");
+ SLOG(LOG_INFO, TAG_STTD, "");
return EINA_FALSE;
}
return STTD_ERROR_INVALID_STATE;
}
+ SLOG(LOG_INFO, TAG_STTD, "[Server INFO] get supported egnines");
+
int ret;
ret = sttd_engine_agent_get_engine_list(engine_list);
if (0 != ret) {
return STTD_ERROR_INVALID_STATE;
}
+ SLOG(LOG_INFO, TAG_STTD, "[Server INFO] set current egnines, uid(%d), engine_id(%s)", uid, engine_id);
+
int ret;
ret = sttd_engine_agent_load_current_engine(NULL);
if (0 != ret) {
return STTD_ERROR_INVALID_STATE;
}
+ SLOG(LOG_INFO, TAG_STTD, "[Server INFO] get current egnines, uid(%d)", uid);
+
int ret;
ret = sttd_engine_agent_get_current_engine(engine_id);
if (0 != ret) {
return STTD_ERROR_INVALID_STATE;
}
+ SLOG(LOG_INFO, TAG_STTD, "[Server INFO] check app agreed");
+
/* Ask engine available */
int ret;
bool temp = false;
return STTD_ERROR_INVALID_PARAMETER;
}
+ SLOG(LOG_INFO, TAG_STTD, "[Server INFO] get supported languages");
+
/* get language list from engine */
int ret = sttd_engine_agent_supported_langs(lang_list);
if (0 != ret) {
return ret;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server SUCCESS] Get default language");
+ SLOG(LOG_INFO, TAG_STTD, "[Server SUCCESS] Get default language, current_lang(%s)", *current_lang);
return STTD_ERROR_NONE;
}
return ret;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server SUCCESS] Set private data");
+ SLOG(LOG_INFO, TAG_STTD, "[Server SUCCESS] Set private data");
return STTD_ERROR_NONE;
}
return ret;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server SUCCESS] Get private data, key(%s), data(%s)", key, *data);
+ SLOG(LOG_INFO, TAG_STTD, "[Server SUCCESS] Get private data, key(%s), data(%s)", key, *data);
return STTD_ERROR_NONE;
}
*support = (int)temp;
- SLOG(LOG_DEBUG, TAG_STTD, "[Server SUCCESS] recognition type supporting is %s", *support ? "true" : "false");
+ SLOG(LOG_INFO, TAG_STTD, "[Server SUCCESS] recognition type supporting is %s", *support ? "true" : "false");
return STTD_ERROR_NONE;
}
Eina_Bool __stop_by_recording_timeout(void *data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "===== Stop by timeout");
+ SLOG(LOG_INFO, TAG_STTD, "===== Stop by timeout");
if (NULL != g_recording_timer) {
ecore_timer_del(g_recording_timer);
}
}
- SLOG(LOG_DEBUG, TAG_STTD, "=====");
+ SLOG(LOG_INFO, TAG_STTD, "=====");
SLOG(LOG_DEBUG, TAG_STTD, " ");
return EINA_FALSE;
void __sttd_start_sound_completed_cb(int id, void *user_data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "===== Start sound completed");
+ SLOG(LOG_INFO, TAG_STTD, "===== Start sound completed");
/* After wav play callback, recorder start */
ecore_main_loop_thread_safe_call_async(__sttd_server_recorder_start, user_data);
- SLOG(LOG_DEBUG, TAG_STTD, "=====");
+ SLOG(LOG_INFO, TAG_STTD, "=====");
SLOG(LOG_DEBUG, TAG_STTD, " ");
return;
}
}
/* engine start recognition */
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] start : uid(%d), lang(%s), recog_type(%s)",
+ SLOG(LOG_INFO, TAG_STTD, "[Server] start : uid(%d), lang(%s), recog_type(%s)",
uid, lang, recognition_type);
if (NULL != sound)
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] start sound : %s", sound);
+ SLOG(LOG_INFO, TAG_STTD, "[Server] start sound : %s", sound);
/* 1. Set audio session */
ret = sttd_recorder_set_audio_session();
app_state_e temp_app_state;
if (true == is_sound_done) {
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] No sound play");
+ SLOG(LOG_INFO, TAG_STTD, "[Server] No sound play");
ret = sttd_engine_agent_recognize_start_recorder(uid);
if (0 != ret) {
sttdc_send_set_state(uid, APP_STATE_RECORDING);
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server SUCCESS] Start recognition");
+ SLOG(LOG_INFO, TAG_STTD, "[Server SUCCESS] Start recognition");
return STTD_RESULT_STATE_DONE;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] Wait sound finish");
+ SLOG(LOG_INFO, TAG_STTD, "[Server] Wait sound finish");
return STTD_RESULT_STATE_NOT_DONE;
}
void __sttd_stop_sound_completed_cb(int id, void *user_data)
{
- SLOG(LOG_DEBUG, TAG_STTD, "===== Stop sound completed");
+ SLOG(LOG_INFO, TAG_STTD, "===== Stop sound completed");
/* After wav play callback, engine stop */
ecore_main_loop_thread_safe_call_async(__sttd_server_engine_stop, user_data);
return STTD_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] stop sound path : %s", sound);
+ SLOG(LOG_INFO, TAG_STTD, "[Server] stop sound path : %s", sound);
int ret;
/* 1. Stop recorder */
return STTD_RESULT_STATE_NOT_DONE;
} else {
- SLOG(LOG_DEBUG, TAG_STTD, "[Server] No sound play");
+ SLOG(LOG_INFO, TAG_STTD, "[Server] No sound play");
/* Unset audio session */
ret = sttd_recorder_unset_audio_session();
/* Notify uid state change */
sttdc_send_set_state(uid, APP_STATE_PROCESSING);
- SLOG(LOG_DEBUG, TAG_STTD, "[Server SUCCESS] Stop recognition");
+ SLOG(LOG_INFO, TAG_STTD, "[Server SUCCESS] Stop recognition");
g_processing_timer = ecore_timer_add(g_processing_timeout, __time_out_for_processing, NULL);