Open a connection to the recognizer module.
#include "asr/asr.h"
int asr_open_global(void *asr_hdl, cfg_item_t *config_base, asr_global_data_t **data)
The handle to the recognizer module.
Configuration data for the recognizer.
Identifying information about the recognizer.
The asr_open_global() function initializes the recognizer and returns identifying information about the recognizer via the data parameter. The operations performed by the asr_open_global() function and the contents of the asr_global_data_t structure may vary by vendor.
0 Success.
-1 An error occurred.