forked from len0rd/rockbox
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
This commit is contained in:
parent
ef41ad91db
commit
ed0c5edd62
6 changed files with 93 additions and 82 deletions
|
|
@ -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
|
||||
|
||||
#endif
|
||||
#define REC_SAMPR_CAPS SAMPR_CAP_ALL
|
||||
|
||||
/* Define bitmask of input sources - recordable bitmask can be defined
|
||||
explicitly if different */
|
||||
|
|
@ -99,9 +93,9 @@
|
|||
/* There is no hardware tone control */
|
||||
#define HAVE_SW_TONE_CONTROLS
|
||||
|
||||
/* We're working on the assumption that the AS3525 has something
|
||||
similar to the AS3514 for audio codec etc */
|
||||
/* AS3514 or newer */
|
||||
#define HAVE_AS3514
|
||||
#define HAVE_AS3543
|
||||
|
||||
/* define this if you have a real-time clock */
|
||||
#ifndef BOOTLOADER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue