• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category User Interface → Simulator
  • Assigned To No-one
  • Operating System All players
  • 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 archivator - 2009-11-26
Last edited by Buschel - 2010-11-19

FS#10816 - Simulator returns distorted PCM data

I started working on  FS#10065  again and immediately found a bug most likely in the sim. The attached screenshots/screendumps show obvious distortion in the data received from pcm_get_peak_buffer, while everything is fine on the actual target (iPod 5.5G, if that matters).

Last confirmed on r23717.

Closed by  Buschel
2010-11-19 23:43
Reason for closing:  Works For Me
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

r28115 on sim for iPod 5.5G and nano 2G

nls commented on 2009-12-04 20:32

Hi i tried looking into this but the patch in  FS#10065  doesn’t build anymore, maybe you could post an updated patch to use when trying to track this down?

The attached patch is a snapshot of my current working tree. It’s a bit larger than usual as it also includes the iPod Video graphics needed for the color and spectrogram modes.

Using r25695, I get the proper graph on device but the sim still returns incorrect data.

   dev.png (24.6 KiB)
   sim.png (147.3 KiB)

Hmm, at a first glance it looks like the spectrum that you show in the sim samples a signal with 1/32 of the targets sample rate.

The spectogram looks fine on simulation when using real music. Is this bug fxied or still occuring for you?


Available keyboard shortcuts


Task Details

Task Editing