From 619d2226bd70738df43b539a7c469796f3fe929f Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Tue, 5 Jun 2007 07:22:26 +0000 Subject: e200: Fix errors from recording addition and a warning that comes up when fixing the errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13558 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/recording.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index d7bea6f898..5738a34949 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -1529,10 +1529,12 @@ bool recording_screen(bool no_source) { switch (global_settings.rec_source) { +#if defined(HAVE_LINE_REC) || defined(HAVE_FMRADIO_REC) HAVE_LINE_REC_(case AUDIO_SRC_LINEIN:) HAVE_FMRADIO_REC_(case AUDIO_SRC_FMRADIO:) line[i] = 5; break; +#endif case AUDIO_SRC_MIC: line[i] = 4; break; -- cgit v1.2.3