Rockbox mail archive
Subject: Re: How can we manage performance problems?
From: Magnus Holmgren (lear_at_algonet.se)
Henri DAVID wrote:
> > Principially I agree. But it is not only a peak meter problem. If you
> > have many lines scrolling on the wps you don't need a peak meter to
> > make the jukebox stutter while loading. -> It is a more basic problem.
> > I think we need a way to ask the loading / bitswapping engines wether
> > they are busy. This way we could disable performance eaters when
> > necessary.
> maybe this could be done by putting more YIELD() calls in WPS / PEAK meter
> code and fewer in bitswap/ disk code ?
Having very briefly looked at the scrolling code (I have a player, so I
don't have the problem), a yield() after each line is scrolled might do
the trick? Simple enough to test anyway... Might not look great during
bitswapping, but rather that than skips, I'd say.
Page was last modified "Jan 10 2012" The Rockbox Crew