4# error("ZephyrSD only supported by zephyr")
7#include "AudioLogger.h"
13#include <zephyr/fs/fs.h>
16# define FS_MAX_PATH 256
35 const char *ext =
".mp3") {
74 LOGI(
"nextStream: %d", offset);
78 if (!
s && offset > 0) {
79 LOGI(
"wrap to start");
107 LOGI(
"Playing: %s", path);
114 LOGI(
"selectStream(path): %s", path);
199 if (!path)
return nullptr;
218 const char *
get(
int idx) {
235 const char *result =
nullptr;
239 if (
rc != 0 || entry.name[0] ==
'\0')
break;
244 "%s/%s", path, entry.name) >= (
int)
sizeof(full)) {
284 if (
rc != 0 || entry.name[0] ==
'\0')
break;
289 "%s/%s", path, entry.name) >= (
int)
sizeof(full)) {
#define LOGW(...)
Definition AudioLoggerIDF.h:29
#define TRACED()
Definition AudioLoggerIDF.h:31
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define LOGE(...)
Definition AudioLoggerIDF.h:30
#define FS_MAX_PATH
Definition AudioSourceZephyr.h:16