nRF Connect SDK API 0.1.0
|
int audio_module_data_tx | ( | struct audio_module_handle * | handle, |
struct audio_data const *const | audio_data, | ||
audio_module_response_cb | response_cb | ||
) |
#include <include/audio_module/audio_module.h>
Send an audio data item to an audio module, all data is consumed by the module.
handle | [in/out] The handle for the receiving module instance. |
audio_data | [in] Pointer to the audio data to send to the module. |
response_cb | [in] Pointer to a callback to run when the buffer is fully consumed in a module. |