asrv_post_result()

Handle results from recognizer.

Synopsis:

#include "asr/asrv.h"
 
asr_result_action_t asrv_post_result(void *hdl, asr_result_t *results)

Arguments:

hdl

The recognizer handle.

results

The results to post.

Library:

libasr

Description:

The asrv_post_result() function handles the specified recognition result. It ensures ASR isn't on hold, selects the appropriate module, passes the result to the module for actioning (the module's on_result() callback function is invoked), and returns the action to take next.

Returns:

The next action to take.