nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ audio_datapath_stream_out()

void audio_datapath_stream_out ( const uint8_t *  buf,
size_t  size,
uint32_t  sdu_ref_us,
bool  bad_frame,
uint32_t  recv_frame_ts_us 
)

Input an audio data frame which is processed and outputted over I2S.

Note
A frame of raw encoded audio data is inputted, and this data then is decoded and processed before being outputted over I2S. The audio is synchronized using sdu_ref_us
Parameters
bufPointer to audio data frame
sizeSize of audio data frame in bytes
sdu_ref_usISO timestamp reference from BLE controller
bad_frameIndicating if the audio frame is bad or not
recv_frame_ts_usTimestamp of when audio frame was received