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: Viewing Files With Plugins
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2004-01-08


[IDC]Dragon wrote:
> Icon data is very small, just 6 bytes. This could be an (optional) part of
> an entry in the extension config file. Just 12 hex digits would do the job...

Good idea.

> Memory allocation could be an issue, we need some worst-case buffer for the
> filetypes.

I think max 16 types is a reasonable number to start with. If we go with 8 bytes extension, 16 bytes plugin name and 6 bytes icon data, that's 480 bytes for the file type table. Not too bad.

-- 
Björn



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