dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: where to start debugging patch? (playback/codec code related)

where to start debugging patch? (playback/codec code related)

From: Jonathan Gordon <>
Date: Tue, 17 Oct 2006 23:38:09 +1000

hey all,
Some of you may know that im working on a patch to completly redo how
the menus and settings are done in the core
anywho, it was brought to my attention that for some reason the patch
keeps the cpu boosted the whole time, (this was about a week ago),
anyway, after a week of neglect I resynced the patch and found that if
the player is playing any audio the cpu jumps between boosted and not
every half-second or so.
Other symtons are that the codec thread priority seems to be swapping
between 1 and 4 very quickly, and the codec and pcm buffers both stay
very low, pcm goes to a max of about 101kb, and codec goes to about
350kb and drops very quickly.

If playback is stopped then everything works as it should.

Now, my patch does not touch the playback/codec code at all, the only
change related would be the setting storage and loading.
So, can anyone suggest some likely global_setting variables which
could cause this odd behaviour if they are not initialised correctly?
or any other reason for this to happen?

(this only affects the patch, cvs is fine), Oh, im on the h300 btw,
but I assume this affects other builds.

Received on 2006-10-17

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy