nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
SD Card Playback

SD card playback API for Audio applications. More...

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.
 

Detailed Description

SD card playback API for Audio applications.

This module provides audio file playback functionality from SD card storage, supporting both WAV and LC3 audio formats. It handles file reading and audio decoding, and provides mixing capabilities with live audio streams.