From 9b4057bbd43dfeaf69785605407e4625f01be069 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 1 Nov 2009 22:51:31 +0000 Subject: 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 --- firmware/export/config-clip.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'firmware/export/config-clip.h') diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h index 3b82a25159..b57881f794 100644 --- a/firmware/export/config-clip.h +++ b/firmware/export/config-clip.h @@ -9,18 +9,12 @@ #define FIRMWARE_OFFSET_FILE_DATA 8 #define FIRMWARE_OFFSET_FILE_CRC 0 -#if 0 /* disabled since there is no driver (yet) */ - -#define HW_SAMPR_CAPS (SAMPR_CAP_44) +#define HW_SAMPR_CAPS SAMPR_CAP_ALL /* define this if you have recording possibility */ -#define HAVE_RECORDING - -#define REC_SAMPR_CAPS (SAMPR_CAP_22) -#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ -#define REC_SAMPR_DEFAULT SAMPR_22 +//#define HAVE_RECORDING -#endif +#define REC_SAMPR_CAPS SAMPR_CAP_ALL /* Define bitmask of input sources - recordable bitmask can be defined explicitly if different */ -- cgit v1.2.3