FS#5355 - Recording on X5 (initial support)

Attached to Project: Rockbox
Opened by Anonymous Submitter - Saturday, 13 May 2006, 14:07 GMT
Task Type Patches
Category Recording
Status Closed
Assigned To No-one
Operating System iAudio X5
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Here's a patch that will enable recording on the X5.

- Mic works fine
- Line-in does not work yet (maybe GPIO 29 is not enough to switch from radio?)
- Peakmeater works (!)
- 44.1 kHz recording to WAV

Recording gain (volume) does not work correctly yet. Help wanted.

This task depends upon

Closed by  Linus Nielsen Feltzing (linusnielsen)
Friday, 21 July 2006, 12:16 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed along with  FS#5347  . Thanks!
Comment by Andy Young (andy) - Saturday, 13 May 2006, 14:16 GMT
Here's the patch
Comment by Rani Hod (RaeNye) - Saturday, 13 May 2006, 23:10 GMT
Great work!

Does recording from FM radio work?
(Combine this patch with mine: . I'll do it in a few days if you don't :)

Also, try to enable AAP_BYPASS and see if you can hear line-in on the headphones.
Comment by Andy Young (andy) - Sunday, 14 May 2006, 21:33 GMT
New version of the patch

Gain settings and line-in now works!

- Mic gain (0 or 20 dB)
- Line-in gain (-34 .. 12 dB)

Comment by Rani Hod (RaeNye) - Sunday, 09 July 2006, 23:12 GMT
Resynced to current CVS.

If you want FM radio as well, consider getting FS #5347
( since it is now contains record-v2 as a part of it.
Comment by Dave Chapman (linuxstb) - Monday, 17 July 2006, 12:09 GMT
A minor comment - this patch changes how the SETTINGS_RESET button is defined in apps/main.c. This should still be wrapped around keypad-specific #ifdefs - ipods don't have SETTINGS_RESET defined to be BUTTON_REC, and although they don't current record, they will do in the future.