Rockbox

Tasklist

FS#5305 - fast-forward problems

Attached to Project: Rockbox
Opened by paul (paulwalmsley) - Sunday, 07 May 2006, 07:26 GMT
Last edited by Dave Chapman (linuxstb) - Thursday, 25 May 2006, 19:59 GMT
Task Type Bugs
Category Music playback
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity High
Priority Normal
Reported Version
Due in Version Version 3.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The Rockbox daily 2006-05-07 build of the iRiver h100 series port (on an iRiver h140) seems to have some problems fast-forwarding through FLAC files. In particular, if I try to fast-forward to the midway point of a 300MB FLAC, Rockbox appears to start seeking to it -- the hard drive light flashes -- but Rockbox just winds up restarting the playback from the beginning.

I've noticed that I can fast-forward ahead by short hops -- about 1 or 2 minutes at a time -- without this problem happening. Perhaps it's fast-forwarding through the cache for these short hops, but the longer skip exceeds the cache?

Fast-forwarding through large MP3s (albeit not 300MB MP3s ...) seems to work OK

Any ideas?

This task depends upon

Closed by  Dave Chapman (linuxstb)
Monday, 03 July 2006, 21:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fix committed to CVS.
Comment by Sascha L├╝decke (Moxon) - Thursday, 25 May 2006, 21:03 GMT
No idea, but the rockbox-h120-20060326 build can seek flac with no problems. It appears to me that at the moment seeks beyond the cache/buffer with flac files does not work (though you can seek within the buffered data).
Comment by Dave Chapman (linuxstb) - Wednesday, 31 May 2006, 10:44 GMT
The attached patch was suggested by Mark Arigo (lowlight) in IRC on 30 May. I've tested it with some long FLAC files, and it seems to fix the problem. I've also tested with a long MP2 file, and that works (but I haven't tested seeking in a long MP2 file without this patch).

Loading...