Capture an utterance.
#include "asr/asrm.h"
int asrm_get_utterance(asr_module_hdl_t *mod, asr_audio_info_t *audio_info)
A pointer to the module handle (optional).
The structure in which to store the utterance and set the properties.
The asrm_get_utterance() function stores an audio sample in the buffer referenced by the audio_info parameter by invoking the asra_get_utterance() function.
0 Success.
-1 An error occurred.