diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-11-01 22:51:31 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-11-01 22:51:31 +0000 |
commit | 9b4057bbd43dfeaf69785605407e4625f01be069 (patch) | |
tree | 5d37bbedfcef2527629b1aae0ed184187832aaab /firmware/export/config-e200v2.h | |
parent | 6cdb80d7df997d3220efe03ea6779ba2c81ddf79 (diff) | |
download | rockbox-9b4057bbd43dfeaf69785605407e4625f01be069.tar.gz rockbox-9b4057bbd43dfeaf69785605407e4625f01be069.zip |
Sansa AMS recording support (Microphone and FM)
Still disabled on all targets:
- Fuze and e200v2 see spurious interrupts with no source defined
- Clip/m200v4 deadlock instantly when starting recording (perhaps due to low memory size)
Having the code in SVN will make working on this feature easier
Also add keymaps for Fuze, and correct Frequency section of recording
options : the 22.05kHz limitation of e200v1 and c200v1 doesn't apply to
Sansa AMS (different I2S hardware, unrelated to as3514)
Flyspray: FS#10371
Authors: Fred Bauer and myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23476 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-e200v2.h')
-rw-r--r-- | firmware/export/config-e200v2.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/firmware/export/config-e200v2.h b/firmware/export/config-e200v2.h index b108decce6..4dc3e43f2d 100644 --- a/firmware/export/config-e200v2.h +++ b/firmware/export/config-e200v2.h | |||
@@ -7,17 +7,13 @@ | |||
7 | #define MODEL_NUMBER 41 | 7 | #define MODEL_NUMBER 41 |
8 | #define MODEL_NAME "Sandisk Sansa e200v2 series" | 8 | #define MODEL_NAME "Sandisk Sansa e200v2 series" |
9 | 9 | ||
10 | #define HW_SAMPR_CAPS (SAMPR_CAP_44) | 10 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
11 | 11 | ||
12 | #if 0 | ||
13 | /* define this if you have recording possibility */ | 12 | /* define this if you have recording possibility */ |
14 | #define HAVE_RECORDING | 13 | //#define HAVE_RECORDING |
15 | 14 | ||
16 | #define REC_SAMPR_CAPS (SAMPR_CAP_22) | 15 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL |
17 | #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ | ||
18 | #define REC_SAMPR_DEFAULT SAMPR_22 | ||
19 | 16 | ||
20 | #endif | ||
21 | /* Define bitmask of input sources - recordable bitmask can be defined | 17 | /* Define bitmask of input sources - recordable bitmask can be defined |
22 | explicitly if different */ | 18 | explicitly if different */ |
23 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) | 19 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) |