summaryrefslogtreecommitdiff
path: root/firmware/export/config_caps.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-06-08 23:42:04 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-06-08 23:42:04 +0000
commit2d48d0ffa6baddd19e6ff077f25068f90af7be3d (patch)
tree68c80646a748496fee423d77aa43afafb783b269 /firmware/export/config_caps.h
parenta85793fc54a0079f5483d5a5c6c60b7d17ca688c (diff)
downloadrockbox-2d48d0ffa6baddd19e6ff077f25068f90af7be3d.tar.gz
rockbox-2d48d0ffa6baddd19e6ff077f25068f90af7be3d.zip
Straighten out some audio path APIs and misc. audio stuff. Having recording is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config_caps.h')
-rw-r--r--firmware/export/config_caps.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/export/config_caps.h b/firmware/export/config_caps.h
index 8e3832d3a7..62cae8f8d8 100644
--- a/firmware/export/config_caps.h
+++ b/firmware/export/config_caps.h
@@ -66,6 +66,10 @@
66 #define HAVE_FMRADIO_IN_(...) 66 #define HAVE_FMRADIO_IN_(...)
67#endif 67#endif
68 68
69#if INPUT_SRC_CAPS != 0 && (INPUT_SRC_CAPS & (INPUT_SRC_CAPS-1)) != 0
70#define HAVE_MULTI_INPUT_SRC
71#endif
72
69#ifdef HAVE_RECORDING 73#ifdef HAVE_RECORDING
70/* Recordable source implies it has the input as well */ 74/* Recordable source implies it has the input as well */
71 75
@@ -104,4 +108,9 @@
104#else 108#else
105 #define HAVE_FMRADIO_REC_(...) 109 #define HAVE_FMRADIO_REC_(...)
106#endif 110#endif
111
112#if REC_SRC_CAPS != 0 && (REC_SRC_CAPS & (REC_SRC_CAPS-1)) != 0
113#define HAVE_MULTI_REC_SRC
114#endif
115
107#endif /* HAVE_RECORDING */ 116#endif /* HAVE_RECORDING */