• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Plugins
  • Assigned To No-one
  • Operating System SW-codec
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by nls - 2007-10-04
Last edited by nls - 2007-10-04

FS#7889 - Midi optimization

This patch changes the loop in synthSample to use fewer multiplications and memory accesses, it also moves sample shifting out of the loop which gives slightly better accuracy. I have tested on my h300 with cpu boosting disabled and the number of buffer misses dropped 12%. To get the number of buffer misses I used the midi_bench.diff also posted below. As I don’t have any other players I am interested in benchmarks for those.

Edit, fixed minor mistake in midi_bench.diff should now build fine :-)

Closed by  nls
2007-10-04 19:37
Reason for closing:  Accepted
Additional comments about closing:  



Available keyboard shortcuts


Task Details

Task Editing