asra_connect()

Connect to the audio module.

Synopsis:

#include "asr/asra.h"
 
asra_module_hdl_t* asra_connect(const asra_module_interface_t *aif, unsigned len)

Arguments:

aif

The audio module interface.

len

The size of the audio module interface.

Library:

libasr

Description:

The asra_connect() function connects to the specified audio 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.