diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-01-11 13:58:41 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-01-29 19:28:03 +0000 |
commit | c1f1d9140407757fab16c418eed09f5517c649d7 (patch) | |
tree | ee75be10480d454ea8a8cbd38cb51d29b7019433 /firmware/export/config | |
parent | bc5a6385949c9f0a17173f3512aa9a6db9175803 (diff) | |
download | rockbox-c1f1d9140407757fab16c418eed09f5517c649d7.tar.gz rockbox-c1f1d9140407757fab16c418eed09f5517c649d7.zip |
FiiO M3K: audio recording
Recording works now, although I'm sure there will be a few
things that need fine-tuning. A major issue is that writing
to the SD card creates noticable interference, which happens
on the original firmware too but seems worse under Rockbox.
(Since Rockbox waits until RAM fills up before writing data,
the interference will only be heard on >50 MiB recordings.)
Change-Id: I5561dd9668c3bdd34e92f34ef50848aef8c0b7eb
Diffstat (limited to 'firmware/export/config')
-rw-r--r-- | firmware/export/config/fiiom3k.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/config/fiiom3k.h b/firmware/export/config/fiiom3k.h index 45c2150208..ea97d52d76 100644 --- a/firmware/export/config/fiiom3k.h +++ b/firmware/export/config/fiiom3k.h | |||
@@ -55,11 +55,15 @@ | |||
55 | 55 | ||
56 | /* Codec / audio hardware defines */ | 56 | /* Codec / audio hardware defines */ |
57 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL_192 | 57 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL_192 |
58 | #define REC_SAMPR_CAPS (SAMPR_CAP_ALL_96 & ~SAMPR_CAP_64) | ||
59 | #define INPUT_SRC_CAPS SRC_CAP_MIC | ||
60 | #define AUDIOHW_CAPS (FILTER_ROLL_OFF_CAP|POWER_MODE_CAP|MIC_GAIN_CAP) | ||
61 | #define HAVE_RECORDING | ||
58 | #define HAVE_AK4376 | 62 | #define HAVE_AK4376 |
63 | #define HAVE_X1000_ICODEC_REC | ||
59 | #define HAVE_SW_TONE_CONTROLS | 64 | #define HAVE_SW_TONE_CONTROLS |
60 | #define HAVE_SW_VOLUME_CONTROL | 65 | #define HAVE_SW_VOLUME_CONTROL |
61 | 66 | #define DEFAULT_REC_MIC_GAIN 12 | |
62 | /* TODO: Need to implement recording */ | ||
63 | 67 | ||
64 | /* Button defines */ | 68 | /* Button defines */ |
65 | #define CONFIG_KEYPAD FIIO_M3K_PAD | 69 | #define CONFIG_KEYPAD FIIO_M3K_PAD |