summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-09-29 19:51:41 +0000
committerJens Arnold <amiconn@rockbox.org>2004-09-29 19:51:41 +0000
commiteaa1f73c6daf7e0c066a21b87384cb85cfa33538 (patch)
tree5c1bc2e624c6d086efbc2021430c9ab84584ae15 /apps/recorder
parent6cb799174b121ad3505b6e323aa8e360fffcc7d5 (diff)
downloadrockbox-eaa1f73c6daf7e0c066a21b87384cb85cfa33538.tar.gz
rockbox-eaa1f73c6daf7e0c066a21b87384cb85cfa33538.zip
Added MAS3539F support (Ondio SP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/recording.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 98c2b27008..8bec6e81de 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -49,6 +49,8 @@
#include "errno.h"
#include "talk.h"
+#ifdef HAVE_RECORDING
+
bool f2_rec_screen(void);
bool f3_rec_screen(void);
@@ -539,7 +541,7 @@ bool recording_screen(void)
{
gain = MAX(global_settings.rec_left_gain,
global_settings.rec_right_gain);
-
+
snprintf(buf, 32, "%s: %s", str(LANG_RECORDING_GAIN),
fmt_gain(SOUND_LEFT_GAIN, gain,
buf2, sizeof(buf2)));
@@ -819,3 +821,4 @@ bool f3_rec_screen(void)
return false;
}
#endif
+#endif /* HAVE_RECORDING */