vd.result_type = STT_RESULT_EVENT_PARTIAL_RESULT;
voice_get_string(result.c_str(), &vd);
break;
+ case STT_RESULT_EVENT_ERROR:
+ PRINTFUNC(DLOG_DEBUG, "STT_RESULT_EVENT_ERROR");
+ vd.state = STT_STATE_VAL_NOT_RECOGNISED;
+ set_animation_state(&vd);
+ break;
default:
PRINTFUNC(DLOG_INFO, "");
break;
void SttFeedback::AutoStart(void) {
PRINTFUNC(DLOG_DEBUG, "start");
-
- if (elm_config_access_get()){
- PRINTFUNC(DLOG_DEBUG, "accessbility on: It will not start automatically.");
- } else {
- start_by_press((VoiceData *) owner);
- }
+ start_by_press((VoiceData *) owner);
}
void SttFeedback::SttIdle(void)