asr_open_instance()

Open an instance of the recognizer module.

Synopsis:

#include "asr/asr.h"
 
int asr_open_instance(void *asr_hdl, asr_instance_data_t **data)

Arguments:

asr_hdl

The handle to the recognizer service.

data

Identifying information about the instance.

Library:

libasr

Description:

The asr_open_instance() function opens a new instance of the recognizer and returns identifying information about it via the data parameter. The operations performed by the asr_open_instance() function and the contents of the asr_instance_data_t structure may vary by vendor.

Returns:

0 on success; an error code on error.