3#include "AudioLogger.h"
11namespace fs = std::filesystem;
46 LOGI(
"nextStream: %d", offset);
48 if (s ==
nullptr && offset > 0) {
49 LOGI(
"Wrapping to start of directory");
65 if (norm < 0) norm +=
count;
69 LOGW(
"Could not resolve index %d (normalized %d)",
index, norm);
82 LOGI(
"-> selectStream: %s", path);
105 for (
auto const& dir_entry : fs::recursive_directory_iterator(
start_path)){
126 const char* result =
nullptr;
127 for (
auto const& dir_entry : fs::recursive_directory_iterator(
start_path)){
142 const std::filesystem::path path =
file.path();
143 const std::string filename = path.filename().string();
144 const char *file_name_c = filename.c_str();
145 if (
file.is_directory()) {
146 LOGD(
"-> isValidAudioFile: '%s': %d", file_name_c,
false);
149 StrView strFileTName(file_name_c);
152 LOGD(
"-> isValidAudioFile: '%s': %d", file_name_c, result);
#define LOGW(...)
Definition AudioLoggerIDF.h:29
#define TRACED()
Definition AudioLoggerIDF.h:31
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define LOGD(...)
Definition AudioLoggerIDF.h:27