Rockbox

Tasklist

FS#5906 - Wrong rebuffering after playback resume, rewind and track change

Attached to Project: Rockbox
Opened by Václav Brožík (pabouk) - Wednesday, 30 August 2006, 15:41 GMT
Task Type Bugs
Category Music playback
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Probably the CVS update from 31 Jul 08:12 solved one serious bug in playback but one similar minor bug still remains.

How to reproduce it:
1. Play an MP3 file (not the last one in a directory).
2. Seek near to the end of the file (i.e. 30 seconds before the end).
3. Stop the playback. (A resume point is stored.)
4. Resume the playback by pressing PLAY.
5. Seek before the time point of resume. (Rockbock will rebuffer.)
6. Wait till the beginning of the next track.
7. Sometimes (always?) the following happens:
- Rockbox will rebuffer again.
- A short part (fraction of a second) of the beggining of the file will be played twice.
- During the first playback the displayed time will show 0:00 or a nonsensical time.

Last time the bug was tested on the firmware CVS 060830-1432 with the default settings on iriver H120.
The bug could not be reproduced with OGG (whole file is buffered) and WV files.
This task depends upon

Closed by  Brandon Low (lostlogic)
Tuesday, 17 October 2006, 13:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  I believe this will be fixed now thanks to patch 6199 applied this morning.
Comment by Václav Brožík (pabouk) - Thursday, 31 August 2006, 07:51 GMT
Unfortunately the patch http://www.rockbox.org/tracker/task/5879 (commited yesterday) repairing a similar bug did not solve this problem.
Comment by Steve Bavin (pondlife) - Wednesday, 04 October 2006, 16:37 GMT
Hi Vaclav,

I think I may have fixed this one whilst looking for another bug. I've not been able to reproduce it (nor your other bug), but I'll put a test H120 build up if you'd like to try it and report back.

Download from http://pondlife.homeip.net/images/rockboxH120.zip
Comment by Václav Brožík (pabouk) - Wednesday, 04 October 2006, 20:17 GMT
Hi Steve,

I have tested the build but unfortunately the bug is still there. Tested on VBR and CBR 192 kbps MP3.
Comment by Steve Bavin (pondlife) - Wednesday, 04 October 2006, 21:49 GMT
Hi Vaclav,

I've managed to reproduce this now; hopefully will look into it tomorrow.

Thanks!
Comment by Steve Bavin (pondlife) - Wednesday, 11 October 2006, 09:28 GMT
Hi Vaclav,

If you're able to build, you might like to try the patch at http://www.rockbox.org/tracker/task/6119. It's not ready for prime-time yet (see the patch for details), but I believe it resolves this issue and any testing would be very useful towards resolving this problem.
Comment by Václav Brožík (pabouk) - Wednesday, 11 October 2006, 15:16 GMT
Hi Steve,

thank you for your work. I will not install the build environment soon but if there is compiled build for H120 I can test it.
Comment by Steve Bavin (pondlife) - Wednesday, 11 October 2006, 15:18 GMT
Thanks - the patch is a bit buggy at the moment, but I'll do that at a later stage.

Loading...