Closed kimstik closed 2 years ago
as per oversample is uin8_t it cannot hold value bigger than 255 file AudioOutputI2SNoDAC.cpp
bool AudioOutputI2SNoDAC::SetOversampling(int os) { if (os % 32) return false; // Only Nx32 oversampling supported if (os > 256) return false; // Don't be silly now! if (os < 32) return false; // Nothing under 32 allowed oversample = os; return SetRate(hertz); }
Very good catch, thanks!
as per oversample is uin8_t it cannot hold value bigger than 255 file AudioOutputI2SNoDAC.cpp