• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by vinylivo - 2006-04-04

FS#5022 - Better accuracy for peak-meter

This patch modifies the ‘calc_db’ function for better accuracy, less than 0.2dB error in important -12dB to 0dB range.

The pm_error.png graphic shows the error values. The red trace is the original difference between exact and claculated dB value. The green trace is for the improved accuracy calc_db function.

Closed by  petur
2006-07-02 22:37
Reason for closing:  Accepted

Does this change peak meter speed at all?

no unless for very small peak levels (24 or -62dB) there is one more if-else decision.
but first low level calls are very seldom and I doubt that this has an impact on speed.

new patch removes long path so u can use -p1 for patching.


Available keyboard shortcuts


Task Details

Task Editing