newdigate / teensy-variable-playback

Firmware library: variable playback rate for teensy audio library
MIT License
56 stars 10 forks source link

sizeof problem in to ResamplingReader.h Line 150 #63

Open rolfdegen opened 2 days ago

rolfdegen commented 2 days ago

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; }