|
Rockbox mail archiveSubject: Re: themes, skins, backdrops and RAM usage... (i.e sure to be controversial)Re: themes, skins, backdrops and RAM usage... (i.e sure to be controversial)
From: Thomas Martitz <thomas.martitz_at_student.htw-berlin.de>
Date: Tue, 22 Dec 2009 19:52:52 +0100 Am 22.12.2009 19:15, schrieb pondlife: >> Its not possible to find out how much RAM a theme needs without fully >> loading it >> > Not possible to parse without loading? I'll agree it'd be quite a bit of > work/code...just trying to throw some ideas in. > > I wonder if the plugin buffer would be useful for a test load? Or stop > playback and grab the audio buffer? Loading a theme will need a spinup > anyway, so a rebuffer isn't too expensive... > > pondlife > It should be possible. The size of the images is known without actually loading them. The other tokens could be parsed within a minimum buffer (say, 10k). That could be the actual skin buffer (if we say it must not be smaller than those 10k) or in the plugin buffer (while parsing, the .wps text file is loaded into the plugin buffer already). Best regards. Received on 2009-12-22 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |