This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8260 - Audio skips when buffer usefl empties
Attached to Project:
Rockbox
Opened by Andrea (Jag86) - Saturday, 01 December 2007, 11:09 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Friday, 09 May 2008, 02:30 GMT+2
Opened by Andrea (Jag86) - Saturday, 01 December 2007, 11:09 GMT+2
Last edited by Nicolas Pennequin (nicolas_p) - Friday, 09 May 2008, 02:30 GMT+2
|
DetailsMy iPod mini 2G has a problem with MP3s playback (I've only tried MP3s). After about 4-5 tracks, audio skips for about a quarter of second (sounds like a glitch), doesn't matter where the playback is arrived. However in the buffer debug menu I found that the skip occurs when the bar "usefl" is near to zero and it's going to refill with new data of next songs in playlist. I've tested the r15857, but it's from about the r15840 that the problem occurs.
One more thing, sometimes audio skips even when I add some songs in the current playlist while playing other files. |
This task depends upon
Closed by Nicolas Pennequin (nicolas_p)
Friday, 09 May 2008, 02:30 GMT+2
Reason for closing: Fixed
Additional comments about closing: r17426
Friday, 09 May 2008, 02:30 GMT+2
Reason for closing: Fixed
Additional comments about closing: r17426
FS#8296).I made a test directory off the root of the player with around 70 files in, and couldn't get any stuttering at all when playing back the files in it.
When I moved the entire directory to about four folders deep into my music hierarchy though - the stuttering was apparent straight away.
I've only tried this with "reasonable" quality MP3s (vbr, around 192kbs), and I *cannot* get my ipod to stutter if the tracks are just off the root.
After booting RB or select track from file browser very frequently there are very annoying stuttering, pauses for 2-3 seconds, play for second, again pause and so on for 30-50 seconds.
When I switch to debug|view buffering thread there are near empty buffer filling (second and third line). CPU is running at 124 MHz instead of 45.
Builds before near 1 of october 2007 does not have such behavior.
[1] http://svn.rockbox.org/viewvc.cgi?view=rev&revision=15444
Important: from r16259 some changes in "firmware/target/arm/ipod/power-ipod.c" were introduced, so if you try to patch newest releases it shows errors in some code lines.
I can confirm that this bug was introduced with r15444.
I wish to thank NicoP and all other people for their precious help!
I'll sync it later today.
With patch r16280 works well, even if it shows 2 warning messages while patching file ata.c:
Hunk #1 succeeded at 950 (offset 1 line)
Hunk #2 succeeded at 1156 (offset 2 line)
I've checked this file and it seems that patch is applied though. Maybe just a matter of offset in code lines
Tagcache and Dircache are enabled and I've already tried to disable them without success