Rockbox mail archiveSubject: Re: Battery level voice crumbled at start-up
Re: Battery level voice crumbled at start-up
From: Hilton Shumway <hillshum_at_gmail.com>
Date: Thu, 14 Oct 2010 16:19:31 -0600
On Thu, Oct 14, 2010 at 8:48 AM, asettico <asettico_at_rossomaltese.it> wrote:
> Hi all.
> Booting the DAP when the battery level is under the 50% of charge, RB speaks
> how much battery still remains, but the voice message is crumbled by the
> current playlist buffering thread. Also, I normally use the dircache,
> draining further CPU cycles.
> I was thinking to raise just the voice thread priority, but, looking at the
> code, I read this comment in apps/pcmbuf.c:278 (r28276): "Keep voice and
> codec threads at the same priority or else voice will starve if the codec
> thread's priority is boosted".
The way I read it, the comment means not to let the codec thread get
higher priority than voice, but does not specify if letting voice go
higher is a bad idea.
-- "If you find you cannot love someone, look into that person's eyes long enough to find the hidden rudiments of the child of God in him"-- Elder F Enzio BuscheReceived on 2010-10-15