summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-15 01:00:00 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-15 01:00:00 +0000
commit9dba6593cdbd1e0d58aab20799a90db6332b22b3 (patch)
tree56be38be29e2d9e9dce032fa848db0f837dc382c /firmware
parent6159278e0d49f236233e7dab73a191b3c902f05d (diff)
as3525: do not assume we can record from microphone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25191 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/audio-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/audio-as3525.c b/firmware/target/arm/as3525/audio-as3525.c
index 27cbaac3d8..4699ed26f9 100644
--- a/firmware/target/arm/as3525/audio-as3525.c
+++ b/firmware/target/arm/as3525/audio-as3525.c
@@ -56,7 +56,7 @@ void audio_input_mux(int source, unsigned flags)
}
break;
-#ifdef HAVE_RECORDING
+#if defined(HAVE_RECORDING) && (INPUT_SRC_CAPS & SRC_CAP_MIC)
case AUDIO_SRC_MIC: /* recording only */
if (source != last_source)
{