nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
audio_module_functions Struct Reference

Private pointer to a module's functions. More...

#include <audio_module.h>

Data Fields

int(* open )(struct audio_module_handle_private *handle, struct audio_module_configuration const *const configuration)
 Open an audio module with the specified initial configuration.
 
int(* close )(struct audio_module_handle_private *handle)
 Close an open audio module.
 
int(* configuration_set )(struct audio_module_handle_private *handle, struct audio_module_configuration const *const configuration)
 Reconfigure an audio module after it has been opened with its initial configuration.
 
int(* configuration_get )(struct audio_module_handle_private const *const handle, struct audio_module_configuration *configuration)
 Get the configuration of an audio module.
 
int(* start )(struct audio_module_handle_private *handle)
 Start an audio module.
 
int(* stop )(struct audio_module_handle_private *handle)
 Stop an audio module.
 
int(* data_process )(struct audio_module_handle_private *handle, struct audio_data const *const audio_data_rx, struct audio_data *audio_data_tx)
 The core data processing for an audio module. Can be either an input, output or input/output module type.
 

Detailed Description

Private pointer to a module's functions.


The documentation for this struct was generated from the following file: