You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It never finishes playing (i.e., it doesn't print "done").
Description
test-truncated.mp3 was created using head -c59700 lib/mp3/examples/test.mp3 >test-truncated.mp3
In audiomp3_mp3file_get_buffer(), when there's partial frame at the end of the file, mp3file_find_sync_word() is happy but MP3Decode() fails with ERR_MP3_INDATA_UNDERFLOW, and things stay in this state forever.
Additional information
Will send a pull request with a fix.
The text was updated successfully, but these errors were encountered:
CircuitPython version
Code/REPL
Behavior
It never finishes playing (i.e., it doesn't print "done").
Description
test-truncated.mp3 was created using
head -c59700 lib/mp3/examples/test.mp3 >test-truncated.mp3
In
audiomp3_mp3file_get_buffer()
, when there's partial frame at the end of the file,mp3file_find_sync_word()
is happy butMP3Decode()
fails withERR_MP3_INDATA_UNDERFLOW
, and things stay in this state forever.Additional information
Will send a pull request with a fix.
The text was updated successfully, but these errors were encountered: