nRF Connect SDK API 0.1.0
|
int audio_module_data_rx | ( | struct audio_module_handle * | handle, |
struct audio_data * | audio_data, | ||
k_timeout_t | timeout | ||
) |
#include <include/audio_module/audio_module.h>
Retrieve an audio data item from an audio module.
handle | [in/out] The handle to the module instance. |
audio_data | [out] Pointer to the audio data from the module. |
timeout | [in] Non-negative waiting period to wait for operation to complete (in milliseconds). Use K_NO_WAIT to return without waiting, or K_FOREVER to wait as long as necessary. |