Rockbox

Tasklist

FS#894 - Unnecessary disk accesses on short playlists

Attached to Project: Rockbox
Opened by Anonymous Submitter - Sunday, 09 February 2003, 06:51 GMT
Last edited by Steve Bavin (pondlife) - Wednesday, 14 March 2007, 16:15 GMT
Task Type Bugs
Category Playlists
Status Closed
Assigned To No-one
Operating System All players
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When the complete playlist fits in the mpeg buffer, and
the playlist is played multiple times, the tracks are
reloaded from disk multiple times instead of loaded only
once.

From an examination of the mpeg code it appears that
when all tracks in a playlist can fit in the mpeg
buffer, it is filled with as many copies of the playlist
tracks as will fit into the mpeg buffer, and when the
low water mark is reached, the full mpeg buffer is again
loaded from the disk with multiple copies of the
playlist tracks.

It would be desirable to detect when the entire playlist
fits in the mpeg buffer and only load one copy of the
tracks once and then play them repeatedly. This would
decrease battery drain caused by the unnecessary disk
accesses.

This situation is easily demonstrated by playing a short
track (smaller than the mpeg buffer) and selecting
"Playback->Repeat->One".

---

Firmware: CVS-030125
Model: Jukebox 5000
ROM: 5.06
USB: neg
ATA: 0x300
Mask: 0000

rb_dev@yahoo.com
This task depends upon

Closed by  Daniel Stenberg (bagder)
Saturday, 19 May 2007, 15:14 GMT
Reason for closing:  Later
Additional comments about closing:  Moved to the new KNOWN_ISSUES files since this is unlikely to be fixed in a forseeable time.
Comment by Daniel Stenberg (bagder) - Thursday, 30 June 2005, 06:19 GMT

This is not really a bug but a feature enhancement, why I
move this to the feature-request tracker instead.
Comment by Paul Louden (darkkone) - Friday, 02 March 2007, 06:56 GMT
This still exists, I've elevated back to bug, because really, there's no reason a song should ever be in the buffer more than once unless it actually appears in an m3u more than once.

Loading...