nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
sd_card_playback.h File Reference
#include <zephyr/kernel.h>

Go to the source code of this file.

Functions

bool sd_card_playback_is_active (void)
 Check whether or not the SD card playback module is active.
 
int sd_card_playback_wav (char *filename)
 Play audio from a WAV file from the SD card. Only support for mono files.
 
int sd_card_playback_lc3 (char *filename)
 Play audio from an LC3 file from the SD card.
 
int sd_card_playback_mix_with_stream (void *const pcm_a, size_t pcm_a_size)
 Mix the PCM data from the SD card playback module with the audio stream out.
 
int sd_card_playback_init (void)
 Initialize the SD card playback module. Create the SD card playback thread.