Open Alkerion opened 5 years ago
The main difference between the two files appears to be that the non-working file begins with an ID3 tag.
The library provides a routine to return the number of bytes an ID3 tag consumes (or 0, if the current position is not an ID3 tag), but this routine is not used in the examples.
You would have to use this routine in order to reliably play an MP3 file that starts with an ID3 tag.
It would be great if the examples were enhanced to show the use of this routine, and even better if the library was enhanced to automatically use this routine when appropriate.
I've spend lot of time trying to play a sound before realizing it was due to the mp3 file itself.
I've performed many tests with my mp3 files, most of them aren't playing.
I've only been able to play them after saving them again with Audacity.
I join two files as example.
buzzers.zip