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: 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.

Hilton

--
"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 Busche
Received on 2010-10-15

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