FS#10686 - Peakmeter on ipod 5g using too much CPU (replacing FS#10527)

Attached to Project: Rockbox
Opened by Dave Hooper (stripwax) - Sunday, 18 October 2009, 01:52 GMT
Task Type Bugs
Category Themes
Status New
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


(Replacing  FS#10527 )
Peakmeter on ipod video 5g uses too much CPU, such that audible glitches occur during even flac/wav decoding .
This task depends upon

Comment by Jonathan Gordon (jdgordon) - Tuesday, 15 December 2009, 07:33 GMT
is it the peek meters or the constant WPS updating? (it updates at 25FPS if the peak meter is enabled)... if this is really a huge issue you should disable the pm, or we can talk about sticking it inside a viewport so the whole screen isnt updated, just that one viewport.
Comment by Dave Hooper (stripwax) - Tuesday, 15 December 2009, 12:04 GMT
Could be either. The original  FS#10527  reported the issue in the default rockbox wps, the one with the peakmeters. Arguably, if that wps prevents playback of audio, it should not be the default and/or the CPU load issue (be it peakmeters or WPS updating) should be resolved. Indeed, perhaps by making it a viewport, if that fixes the issue.
Comment by Frank Gevaerts (fg) - Thursday, 17 December 2009, 23:18 GMT
It's not the default, it's just called that
Comment by Andree Buschmann (Buschel) - Monday, 19 December 2011, 06:19 GMT
The attached patch limits the updates to 10 fps.