5#include "AudioLogger.h"
13namespace fs = std::filesystem;
26 const char *ext =
"") {
34 const char *ext =
"") {
56 LOGI(
"nextStream: %d", offset);
73 if (path ==
nullptr) {
74 LOGE(
"Filename is null")
80 LOGI(
"-> selectStream: %s", path);
125 const char *
get(
int idx) {
127 const char *result =
nullptr;
130 if (count++ == idx) {
132 result =
entry.path().c_str();
142 const std::filesystem::path &path =
file.path();
144 const char *
file_name = path.filename().c_str();
145 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