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



Rockbox mail archive

Subject: Re: Enqueing all types.
From: Daniel Stenberg (daniel_at_haxx.se)
Date: 2003-12-21


On Sat, 20 Dec 2003, Brian King wrote:

> > Brian, is this patch checking for the config file when the mp3 file is
> > being loaded, or will it spin-up the disk for all song-changes?

> It checks for the config file in playlist_create and playlist_next, so yes,
> it will spin up the disk if necessary. I tried to keep the patch fairly
> simple and straight forward. If you think extra complexity is warranted to
> save on battery life, I can have a look.

Since I think most songs will not have their own config files, I think
checking for the existance of one is best done when the mp3 itself is loaded
(and the disk is spinning), and then if there is one, it is loaded when that
songs starts.

Just an idea.

-- 
 Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/



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