Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7447 - CPU remains boosted during playback if voice is in use.

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Tuesday, 17 July 2007, 14:05 GMT+2
Last edited by Steve Bavin (pondlife) - Tuesday, 31 July 2007, 12:42 GMT+2
Task Type Bugs
Category Applications
Status Closed
Assigned To No-one
Player Type SW-codec
Severity Medium
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

If a voice file is in use, the CPU is always boosted during playback.

When in the "unwanted boost" state, the CPU boost log shows the following:
B main.c:328
B common/dircache.c:554
U common/dircache.c:563
B tagcache.c:3835
U tagcache.c:3853
U main.c:542
B tagcache.c:3803
B thread.c:915
B playlist.c:1219
B talk.c:218
U talk.c:230
U tagcache.c:3816
U playlist.c:1244

If I read this correctly, it indicates that the unwanted boost was started in thread.c:915. This just indicates a call to trigger_cpu_boost() was used, very likely one of the calls in playback.c...
This task depends upon

Closed by  Steve Bavin (pondlife)
Tuesday, 31 July 2007, 12:42 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  jhMikeS fixed in a better way.
Comment by Linus Nielsen Feltzing (linusnielsen) - Tuesday, 17 July 2007, 17:26 GMT+2
This sounds an awful lot like the bug I fixed in february. It must have resurfaced due to some other changes.

http://svn.rockbox.org/viewvc.cgi/trunk/apps/playback.c?r1=12304&r2=12314
Comment by Steve Bavin (pondlife) - Tuesday, 17 July 2007, 18:18 GMT+2
Could it be the new "timeout loop" added to voice_request_buffer_callback() in here:
http://svn.rockbox.org/viewvc.cgi/trunk/apps/playback.c?r1=12807&r2=12843
Comment by Linus Nielsen Feltzing (linusnielsen) - Tuesday, 17 July 2007, 18:43 GMT+2
The FIXME on line 929 looks suspicious. :-)
Comment by Michael Sevakis (MikeS) - Tuesday, 17 July 2007, 19:40 GMT+2
/me shall henceforth refrain from adding suspicious comments :P
Comment by Steve Bavin (pondlife) - Tuesday, 31 July 2007, 11:11 GMT+2
This seems to help... not sure if it results in the boost clearing too quickly, but it doesn't make my H340 slow down noticably.

Maybe MikeS could look at it, and an iPod Video user could test it?
   unboost_with_voice.patch (0.9 KiB)
 apps/playback.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Loading...