summaryrefslogtreecommitdiff
path: root/firmware/export/config-fmrecorder.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-05-20 20:26:36 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-05-20 20:26:36 +0000
commit8f659ae8d3845b40ff93ebfa3692f7b2302e6c7e (patch)
treea54381487762ec69bdec99f69dd24b148d3400b9 /firmware/export/config-fmrecorder.h
parent731d7a16c3f606d586237fc8b4086ee54a0d0704 (diff)
downloadrockbox-8f659ae8d3845b40ff93ebfa3692f7b2302e6c7e.tar.gz
rockbox-8f659ae8d3845b40ff93ebfa3692f7b2302e6c7e.zip
Use bitmasks to define which inputs are available. Makes it easier to remove old assumptions of which are available. Inspired by e200 being unique in having FM Radio and Mic but no Line. Doesn't remove the assumption that Mic is available or that one of Mic and/or Line is available just to avoid excessive #ifdef'ing until needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13448 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-fmrecorder.h')
-rw-r--r--firmware/export/config-fmrecorder.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index 211dccb183..479815ee2c 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -1,6 +1,10 @@
1/* define this if you have recording possibility */ 1/* define this if you have recording possibility */
2#define HAVE_RECORDING 2#define HAVE_RECORDING
3 3
4/* Define bitmask of input sources - recordable bitmask can be defined
5 explicitly if different */
6#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
7
4/* define this if you have a bitmap LCD display */ 8/* define this if you have a bitmap LCD display */
5#define HAVE_LCD_BITMAP 9#define HAVE_LCD_BITMAP
6 10
@@ -48,9 +52,6 @@
48/* Define this if you have a MAS3587F */ 52/* Define this if you have a MAS3587F */
49#define CONFIG_CODEC MAS3587F 53#define CONFIG_CODEC MAS3587F
50 54
51/* Define this for S/PDIF input available */
52#define HAVE_SPDIF_IN
53
54/* Define this for LCD backlight available */ 55/* Define this for LCD backlight available */
55#define HAVE_BACKLIGHT 56#define HAVE_BACKLIGHT
56 57