summaryrefslogtreecommitdiff
path: root/firmware/export/config-gigabeat-s.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-31 01:38:44 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-31 01:38:44 +0000
commit2e99b3d9318dbc98c242c9ddbbf23d2fcc5bf2bd (patch)
tree53587fff24b5da8c717cf2e052e16942501a78c4 /firmware/export/config-gigabeat-s.h
parent9ac7af749bceb67916b3179a3b7c7eee6ee6443a (diff)
Gigabeat S: Allow recording from FM. Give FM the same volume range as playback. NOTE: This bumps the si4700 output volume to -0dB so other players with that may need a minor adjustment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19619 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-gigabeat-s.h')
-rw-r--r--firmware/export/config-gigabeat-s.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/export/config-gigabeat-s.h b/firmware/export/config-gigabeat-s.h
index 69028822f0..64f351c1ce 100644
--- a/firmware/export/config-gigabeat-s.h
+++ b/firmware/export/config-gigabeat-s.h
@@ -79,12 +79,25 @@
/* Define this if you have the WM8978 audio codec */
#define HAVE_WM8978
+/* Define bitmask of input sources - recordable bitmask can be defined
+ explicitly if different */
#define INPUT_SRC_CAPS SRC_CAP_FMRADIO
+/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
SAMPR_CAP_12 | SAMPR_CAP_11 | SAMPR_CAP_8)
+/* define the bitmask of recording sample rates */
+#define REC_SAMPR_CAPS HW_SAMPR_CAPS /* Same as playback */
+
+/* define default recording levels */
+#define DEFAULT_REC_LEFT_GAIN 0
+#define DEFAULT_REC_RIGHT_GAIN 0
+
+/* Define this if you have recording capability */
+#define HAVE_RECORDING
+
/* Define this if your LCD can be put to sleep. */
#define HAVE_LCD_SLEEP
/* We don't use a setting but a fixed delay after the backlight has