sizeof problem in to ResamplingReader.h Line 150
sizeof problem in to ResamplingReader.h Line 150 "size_of(int16_t)" has not a variable ?
if (_file_size <= _header_offset * sizeof(int16_t)) { _playing = false; if (_filename) delete [] _filename; _filename = nullptr; Serial.printf("Wave file contains no samples: %s\n", filename); return false; }
Why do you think this is a problem? sizeof can be used in two ways - sizeof variable_name or sizeof(type_name). IMHO the former is much preferable, because if you change the variable's type your code still works...
Thanks for your answere. PlatformIO was generating a lot of messages. I changed your code a little. PlatformIO now works without messages.