![]() |
nRF Connect SDK API 3.3.99
|
| int audio_module_data_tx_rx | ( | struct audio_module_handle * | handle_tx, |
| struct audio_module_handle * | handle_rx, | ||
| struct audio_data const *const | audio_data_tx, | ||
| struct audio_data * | audio_data_rx, | ||
| k_timeout_t | timeout ) |
#include <include/audio_module/audio_module.h>
Send an audio data to an audio module and retrieve an audio data from an audio module.
| handle_tx | [in/out] The handle to the module to send the input audio data to. |
| handle_rx | [in/out] The handle to the module to receive audio data from. |
| audio_data_tx | [in] Pointer to the audio data to send. |
| audio_data_rx | [out] Pointer to the audio data received. |
| 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. |