5#include "AudioLogger.h"
13namespace fs = std::filesystem;
29 const char *ext =
"") {
37 const char *ext =
"") {
59 LOGI(
"nextStream: %d", offset);
76 if (path ==
nullptr) {
77 LOGE(
"Filename is null")
83 LOGI(
"-> selectStream: %s", path);
128 const char *
get(
int idx) {
130 const char *result =
nullptr;
133 if (count++ == idx) {
135 result =
entry.path().c_str();
145 const std::filesystem::path &path =
file.path();
147 const char *
file_name = path.filename().c_str();
148 if (
file.is_directory()) {
#define TRACED()
Definition AudioLoggerIDF.h:31
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define LOGD(...)
Definition AudioLoggerIDF.h:27
#define LOGE(...)
Definition AudioLoggerIDF.h:30
#define assert(T)
Definition avr.h:10