This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9137 - Rewinding after rebuffering causes early skipping or noise
Attached to Project:
Rockbox
Opened by PaulJam (PaulJam) - Tuesday, 01 July 2008, 00:59 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Saturday, 19 July 2008, 01:33 GMT+2
Opened by PaulJam (PaulJam) - Tuesday, 01 July 2008, 00:59 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Saturday, 19 July 2008, 01:33 GMT+2
|
DetailsReproduction (doesn't seem to be 100% reliable but with a high chance of success):
DON'T TRY TO REPRODUCE WITH HEADPHONES (the noise can be very loud compared to the music level) Reset settings, start playing a (flac?) file that is larger than the audiobuffer (smaller than 2x audoibuffer?) and to speed up the process fast forward to a position *before* rebuffering. After rebuffering happens rewind to a position before rebuffering happened and let the song play. After some time either playback skips to the next song before the current has ended or there is horrible noise (a very short piece that is constantly repeated). Fast forwarding beyond the position where the "natural" rebuffering happens and then rewinding doesn't seem to lead to a reliable reproduction (but i managed to completely freeze the uisim once that way). Attached is the console output of the uisimulator with the LOGF_ENABLE define uncommented in buffering.c and playback.c. H300 (r19876) and H300 uisim (r17898M) with flac files. |
This task depends upon
Closed by Nicolas Pennequin (nicolas_p)
Saturday, 19 July 2008, 01:33 GMT+2
Reason for closing: Fixed
Additional comments about closing: Same as FS#8194 . Fixed in r18090. The scrambled sound is a separate issue (see FS#9186).
Saturday, 19 July 2008, 01:33 GMT+2
Reason for closing: Fixed
Additional comments about closing: Same as
I was able to reproduce at least the problem with the too early track change with other file formats too (wav and mp3).
The problem with the noise seems to be restricted to flac (at least i never get it when using other file formats).
The problem is also reproducible in the 64MiB ipod video simulator.
By the way, there is a typo in the first post: it should of course be r17896 for the H300 (and not r19876).
It seems as if you are right and it doesn't buffer the entire song when rebuffering. I have been looking at the buffering debug screen and when the skip happens then the usefl buffer does not jump to a lower value. It decrease smoothly during the skip. So it seems as if the end of the song is already missing after rebuffering.
FS#8194looks very similar to this issue.