Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: adding cue support

adding cue support

From: Jonathan Gordon <jdgordy_at_gmail.com>
Date: Wed, 13 Dec 2006 23:33:10 +1100

Hey all,
Well this came up in IRC again and I'd like to get some feedback on my idea.
Unless I'm hugely mistaken, I think they could be added fairly painlessly.

Firstly, another bit needs to be stolen from the playlist index
variable which lowers the maximum playlist size to 128M instead of
256M (still plenty big enough for anyone).
This bit will be used to determine if the track has start/end position
which would be stored in the 8 bytes after the track name.
A new function would be added to add an entry with time (so minimal
changes need be made elsewhere).
I think thats the easy bit. the bit I'm stuck at is telling the
playback engine to buffer only the parts of the track requested.

Once this is done then a cue parser would need to be added and the
playlist viewer would need some prettying up to make it work properly,
but there is no point working on them until this works.

So, would this work? and can anyone help get the playback part working
once the position info is there?

cheers
Jonathan
Received on 2006-12-13


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa