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: [patch] improved volume peak meter in wps
From: Nielsen Linus (ext) (Linus.Nielsen_at_elema.siemens.se)
Date: 2002-09-20


> - thread based volume readout from mas (-> more
> readouts)

I'm not sure I like the way the thread is working. It reads the MAS
registers, calculates the max values and then yields, in an endless loop.
Since the threading kernel switches threads in a round-robin fashion, every
other thread that yields will have to wait quite a while to run again, since
the peak meter thread talks to the MAS everytime it gets to run.
Is it really that important to update the peak values that often?

/Linus



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