asrv_post_data()

Pass additional data for use with a result.

Synopsis:

#include "asr/asrv.h"
 
asr_result_action_t asrv_post_data(void *hdl, void *data, int error)

Arguments:

hdl

The recognizer handle.

data

The data or parameters to be passed to the module.

error

An error code. The error value is currently specific to the ASR vendor used with io-asr.

Library:

libasr

Description:

The asrv_post_data() function specifies additional parameters or passes additional data that the active module requires (i.e., not recognition results). For example, the module may require a vendor-specific data format (e.g., a tracklist generated from a find music command).

Returns:

The next action to take; NULL on error. See asr_result_action_t for the list of actions.