asr_open_global()

Open a connection to the recognizer module.

Synopsis:

#include "asr/asr.h"
 
int asr_open_global(void *asr_hdl, cfg_item_t *config_base, asr_global_data_t **data)

Arguments:

asr_hdl

The handle to the recognizer module.

config_base

Configuration data for the recognizer.

data

Identifying information about the recognizer.

Library:

libasr

Description:

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.

Returns:

0 Success.

-1 An error occurred.