circuitpython/shared-module/audiomp3
Jeff Epler df5f7bc765
MP3Decoder: better handle indicating end of mp3 audio data to caller
The old formulation
 * wouldn't work if there were ID3 tags at the end
 * would choose whether to background-refill the inbuf
   based on a check before skipping to the next sync word, which
   could be incorrect.

I think it was aspect "B" that ended up triggering the erroneous EOF
problem fixed in the prior commit. This would depend on specific data
sizes and offsets occuring in the file such that a read would be
scheduled but then the buffer would be filled and left 100% full by
find_sync_word(). It's just lucky(?) that a particular person produced
such a file, and/or many files produced by Audacity have those
characteristics.
2022-04-22 14:11:02 -05:00
..
MP3Decoder.c MP3Decoder: better handle indicating end of mp3 audio data to caller 2022-04-22 14:11:02 -05:00
MP3Decoder.h audiomp3: add decoded_samples property 2022-01-01 23:28:43 -06:00
__init__.c audiocore: Add MP3File using Adafruit_MP3 library 2019-12-10 14:03:06 -06:00
__init__.h audiocore: Add MP3File using Adafruit_MP3 library 2019-12-10 14:03:06 -06:00