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: max 200 entries in a dir. why?
From: John Wood (John.Wood_at_royalblue.com)
Date: 2002-08-12


Why do we have to load the entire folder at once? Can't we just load one
page at a time?
Besides, why do we have to store the whole directory when we're playing the
song... surely we only need to store the DIR instance.

-----Original Message-----
From: Nielsen Linus (ext) [mailto:Linus.Nielsen_at_elema.siemens.se]
Sent: Monday, August 12, 2002 6:37 AM
To: 'rockbox_at_cool.haxx.se'
Subject: RE: max 200 entries in a dir. why?

> i'm using the version of the 11th august and i remarked that
> the tree.c sets a maximum of 200 entries for one directory.
>
> i recompiled the firmware for the recorder with 500 and it
> works perfect.
>
> why is this limitation?

Because each entry takes up about 260 bytes of RAM, and we think this memory
is better used as an MP3 data buffer.

> couldn't someone change this in the cvs?

Yes, we can change it, but we don't want to.

/Linus

*************************************************************************
This message is intended only for the stated addressee(s)
and may be confidential. Access to this email by anyone
else is unauthorised. Any opinions expressed in this email
do not necessarily reflect the opinions of royalblue.
Any unauthorised disclosure, use or dissemination,
either whole or in part is prohibited,. If you are not the
intended recipient of this message, please notify
the sender immediately.
*************************************************************************



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