Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Recording
  • Assigned To No-one
  • Operating System Iriver H100 series
  • Severity High
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by pabouk - 2006-09-09

FS#5963 - Crash when leaving "Recording Settings" entered from the FM Radio screen

I encountered crashes on iriver H120 when leaving the “Recording Settings” menu entered from the FM Radio screen.
In older build (probably 060907) it showed:

I41:PDIR2FULL
at FFFFFFFF

Now (060909-1036) it just spins up the HDD (even when no option was changed), changes the sound of the radio (it loses high frequencies) and freezes without any message or the possibility to reboot by pressing PLAY. I seems that after entering and leaving the “Recording Screen” it does not crash anymore. I tested it with cleared settings.

Closed by  MikeS
2006-09-17 23:51
Reason for closing:  Fixed
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

Well yes that call to audio_set_recording_options after in the fm recording settings menu was not right and has been #ifdef\'ed out for SWCODEC (never looked why it\'s there for HWCODEC and big *doh* on my part :). It doesn\'t init DMA but rather EBU (SPDIF) and/or ColdFire I2S. Additionally, the code for monitoring for SPDIF will be moved to rec_set_source as that is where monitoring is enabled for everything else and is the function\'s purpose.

MikeS commented on 2006-09-09 11:33

That means the FIFO buffer is getting filled and DMA is not reading the samples out fast enough. There should be traps for these conditions…note made.

How much does it lose HF? If somehow it’s sampling at 22 or 11 it will do that. No SPDIF was involved?

I did the following:
- booted Rockbox (with cleared settings)
- started FM radio, loaded presets and tuned a station
- long pressed NAVI
- entered Recording Settings
- exited Recording Settings
- Rockbox crashed

So it seems that the DMA transfer is initialized after leaving the Recording Settings menu (why?) but the reading thread is not initialized probably. I did not enter the Recording Screen so I did not start recording.

I hear the same loss of HF when entering the Recording Screen while the radio is playing. I think the HF are not completely lost but just attenuated. I did not use SPDIF and the sampling frequency is configured to 44.1 kHz (the only available on iriver ATM).

I confirm that the bug is fixed. Thank you.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing