Capture an utterance.
#include "asr/asr.h"
int asr_get_utterance(asr_audio_info_t *audio_info)
Audio capture information
The asr_get_utterance() function invokes the get_utterance() callback function defined in the recognizer interface, asr_recognizer_if. If no get_utterance() function is defined in the recognizer interface, the get_utterance() callback function defined in the audio interface, asra_module_interface, is invoked instead.
0 Success.
<0 An error occurred.