4#include "AudioLogger.h"
39 AudioSourceIdxSD(
const char *startFilePath =
"/",
const char *ext =
".mp3",
int chipSelect =
PIN_CS,
bool setupIndex=
true) {
47#ifdef USE_SD_SUPPORTS_SPI
49 AudioSourceIdxSD(
const char *startFilePath,
const char *ext,
int chipSelect, SPIClass &spiInstance,
bool setupIndex=
true) {
63 LOGW(
"SD.begin cs=%d failed",
cs);
83 LOGI(
"nextStream: %d", offset);
102 LOGI(
"-> selectStream: %s", path);
127 return idx.indexOf(filename);
141#if defined(USE_SD_NO_NS)
158#ifdef USE_SD_SUPPORTS_SPI