Rockbox

Tasklist

FS#5972 - DivideByZero fix with recordings

Attached to Project: Rockbox
Opened by Toni (ahellmann) - Monday, 11 September 2006, 20:43 GMT
Task Type Patches
Category Recording
Status Closed
Assigned To No-one
Operating System All players
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch solves the DivideByZero problem (I05 at 0x31020634) at recording start/end on iriver. In read_peak_levels() were 2 uncontrolled divisions with variable values. This patch fixes http://www.rockbox.org/tracker/task/5961.
This task depends upon

Closed by  Martin Scarratt (mmmm-)
Wednesday, 13 September 2006, 18:22 GMT
Reason for closing:  Fixed
Comment by Magnus Holmgren (learman) - Tuesday, 12 September 2006, 17:31 GMT
Shouldn't something still be written to balance_mem?
Comment by Toni (ahellmann) - Tuesday, 12 September 2006, 20:47 GMT
At least for me the first priority is the stability of the player.
This I05-error was very annoying.
Secondly the zeros should be very rare at least in recording mode.
So to my understanding of the code there is no disadvantage with this patch.
But I am happy, if the AGC responsible programmer can solve the problem
in a more elaborated way.

Loading...