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

◆ sd_card_playback_wav()

int sd_card_playback_wav ( char *  filename)

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

Play audio from a WAV file from the SD card. Only support for mono files.

Note
Supports only 48k mono files.
Parameters
[in]filenameName of file to be played. Path from the root of the SD card is accepted.
Return values
0Success.
-EACCESSW codec is not initialized.