- Status Closed
- Percent Complete
- 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
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.
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.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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.