nRF Connect SDK API 0.1.0
|
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.
[in] | filename | Name of file to be played. Path from the root of the SD card is accepted. |
0 | Success. |
-EACCES | SW codec is not initialized. |