![]() |
nRF Connect SDK API 3.3.99
|
Audio datapath and synchronization API for Audio applications. More...
Macros | |
| #define | SDU_REF_CH_DELTA_MAX_US (int)(CONFIG_AUDIO_FRAME_DURATION_US * 0.001) |
Functions | |
| int | audio_datapath_tone_play (uint16_t freq, uint16_t dur_ms, float amplitude) |
| Mixes a tone into the I2S TX stream. | |
| void | audio_datapath_tone_stop (void) |
| Stop tone playback. | |
| int | audio_datapath_pres_delay_us_set (uint32_t delay_us) |
| Set the presentation delay. | |
| void | audio_datapath_pres_delay_us_get (uint32_t *delay_us) |
| Get the current presentation delay. | |
| void | audio_datapath_stream_out (struct net_buf *audio_frame_in) |
| Input an audio data frame which is processed and outputted over I2S. | |
| int | audio_datapath_start (struct k_msgq *queue_rx) |
| Start the audio datapath module. | |
| int | audio_datapath_stop (void) |
| Stop the audio datapath module. | |
| int | audio_datapath_init (void) |
| Initialize the audio datapath module. | |
Audio datapath and synchronization API for Audio applications.
This module implements the audio synchronization functionality required for True Wireless Stereo (TWS) operation.