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

◆ sd_card_playback_mix_with_stream()

int sd_card_playback_mix_with_stream ( void *const pcm_a,
size_t pcm_a_size )

#include <applications/nrf5340_audio/src/modules/sd_card_playback.h>

Mix the PCM data from the SD card playback module with the audio stream out.

Parameters
[in,out]pcm_aBuffer into which to mix PCM data from the LC3 module.
[in]pcm_a_sizeSize of the input buffer.
Return values
0Success.
-EACCESSD card playback is not active.
Otherwise,errorfrom underlying drivers.