asrm_connect()

Connect to the module.

Synopsis:

#include "asr/asrm.h"
 
asr_module_hdl_t* asrm_connect(const asr_conversation_if_t *cif, unsigned len, void *module_private)

Arguments:

cif

The conversation module interface.

len

The size of the conversation module interface.

module_private

Module-specific data that can be attached to the module. The io-asr service passes this data to to the module's callback functions to support module-specific actions.

Library:

libasr

Description:

The asrm_connect() function connects to the specified module by adding the module to io-asr's list of current modules.

Returns:

The audio module handle on success; NULL on error, with error details written to the log.