Rockbox mail archive
Subject: RE: [patch] improved volume peak meter in wps
From: Nielsen Linus (ext) (Linus.Nielsen_at_elema.siemens.se)
> - thread based volume readout from mas (-> more
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?
Page was last modified "Jan 10 2012" The Rockbox Crew