nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ audio_module_open()

int audio_module_open ( struct audio_module_parameters const *const  parameters,
struct audio_module_configuration const *const  configuration,
char const *const  name,
struct audio_module_context *  context,
struct audio_module_handle handle 
)

#include <include/audio_module/audio_module.h>

Open an audio module.

Parameters
parameters[in] Pointer to the module set-up parameters.
configuration[in] Pointer to the module's configuration.
name[in] A NULL terminated string giving a unique name for this module instance.
context[in/out] Pointer to the private context for the module.
handle[out] Pointer to the module's private handle.
Returns
0 if successful, error otherwise.