asr_close_instance()

Close an instance of the recognizer module.

Synopsis:

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

Arguments:

asr_hdl

The recognizer handle.

data

The instance data to be freed.

Library:

libasr

Description:

The asr_close_instance() function closes the specified instance of the recognizer and frees the memory consumed by data. The operations performed by the asr_close_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.