asr_start()

Start a recognition request.

Synopsis:

#include "asr/asr.h"
 
int asr_start()

Arguments:

Library:

libasr

Description:

The asr_start() function starts a recognition request by invoking the start() callback function defined in the recognizer interface, asr_recognizer_if. The recognizer should collect and process the audio sample, and then provide status and results via the API defined in the ASR vendor interface, asrv.h. This call must be asynchronous and the recognition operation started must be interuptable via a call to asr_stop().

Returns:

0 Success.

<0 An error occurred.