summaryrefslogtreecommitdiff
path: root/firmware/export/config/sansaclipplus.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-29 22:26:58 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-29 22:26:58 +0000
commited0c5edd6280b58755736700b95a3e65034d52b4 (patch)
tree6238c9efe1f34ca36e021b45e006d8797a03f459 /firmware/export/config/sansaclipplus.h
parentef41ad91dbf5b6a5b4e23a70ac0e9a4824e940d3 (diff)
downloadrockbox-ed0c5edd6280b58755736700b95a3e65034d52b4.tar.gz
rockbox-ed0c5edd6280b58755736700b95a3e65034d52b4.zip
as3525v2 : recording (FM only, no microphone yet)
Add HAVE_AS3543 config define to differentiate the bits changed since as3514/as3517 Enable recording on Fuzev2/Clipv2/Clip+, although it was tested on Clip+ only Note: storage is still read-only so I tested by listening to headphones loopback and watching the recording level in recscreen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25390 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/sansaclipplus.h')
-rw-r--r--firmware/export/config/sansaclipplus.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 310df3a115..462c0a76e8 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -16,19 +16,12 @@
16#define HAVE_HOTSWAP 16#define HAVE_HOTSWAP
17#endif 17#endif
18 18
19 19#define HW_SAMPR_CAPS SAMPR_CAP_ALL
20#if 0 /* disabled since there is no driver (yet) */
21
22#define HW_SAMPR_CAPS (SAMPR_CAP_44)
23 20
24/* define this if you have recording possibility */ 21/* define this if you have recording possibility */
25#define HAVE_RECORDING 22#define HAVE_RECORDING
26 23
27#define REC_SAMPR_CAPS (SAMPR_CAP_22) 24#define REC_SAMPR_CAPS SAMPR_CAP_ALL
28#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
29#define REC_SAMPR_DEFAULT SAMPR_22
30
31#endif
32 25
33/* Define bitmask of input sources - recordable bitmask can be defined 26/* Define bitmask of input sources - recordable bitmask can be defined
34 explicitly if different */ 27 explicitly if different */
@@ -104,9 +97,9 @@
104/* There is no hardware tone control */ 97/* There is no hardware tone control */
105#define HAVE_SW_TONE_CONTROLS 98#define HAVE_SW_TONE_CONTROLS
106 99
107/* We're working on the assumption that the AS3525 has something 100/* AS3514 or newer */
108 similar to the AS3514 for audio codec etc */
109#define HAVE_AS3514 101#define HAVE_AS3514
102#define HAVE_AS3543
110 103
111/* define this if you have a real-time clock */ 104/* define this if you have a real-time clock */
112#ifndef BOOTLOADER 105#ifndef BOOTLOADER