Rockbox

Tasklist

FS#12580 - Elapsed time not reset after track change when playing AC3 files

Attached to Project: Rockbox
Opened by Jeffrey Goode (Blue_Dude) - Tuesday, 07 February 2012, 13:25 GMT
Last edited by Jeffrey Goode (Blue_Dude) - Tuesday, 07 February 2012, 20:21 GMT
Task Type Bugs
Category Music playback
Status Closed
Assigned To No-one
Operating System Sansa e200
Severity Medium
Priority Normal
Reported Version Release 3.10
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This bug occurs on target and in the simulator. It has existed at least since V3.9, and likely earlier.

To duplicate:
Queue more than one ac3 file for playback.
Play the first file. At any time during playback, skip to the next file.
The next file starts at the beginning, but the elapsed time keeps counting from the previous file.
Pausing and resuming the playback causes playback to resume from the incorrect (higher) time.
A (clumsy) workaround is to skip back to the beginning of the new track after skipping forward to it. This resets the elapsed time as expected.
This task depends upon

Closed by  Jeffrey Goode (Blue_Dude)
Tuesday, 07 February 2012, 20:21 GMT
Reason for closing:  Fixed
Comment by Michael Sevakis (MikeS) - Tuesday, 07 February 2012, 17:06 GMT
It looks like samplesdone doesn't get set at the start of codec_run and it's a static global variable. It's not only a52.codec but a52_rm.codec as well. A few others?
Comment by Michael Sevakis (MikeS) - Tuesday, 07 February 2012, 17:26 GMT
71e35ed should take care of it. Please give word.
Comment by Jeffrey Goode (Blue_Dude) - Tuesday, 07 February 2012, 20:21 GMT
Fixed!

Loading...