summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-04 10:57:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-04 10:57:51 +0000
commitbf12c6a9a9dadfec5ad9e08374dedaa5e73c64a3 (patch)
tree36c5057a291e9f81d21b5006ccb3191d32f07d31 /apps
parent8a8bd91695f21343baf8fe3d1b118c885716f2a4 (diff)
downloadrockbox-bf12c6a9a9dadfec5ad9e08374dedaa5e73c64a3.tar.gz
rockbox-bf12c6a9a9dadfec5ad9e08374dedaa5e73c64a3.zip
recording features depends on HAVE_RECORDING, not a specific MAS model
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5779 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/main_menu.c7
-rw-r--r--apps/sound_menu.c4
2 files changed, 4 insertions, 7 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index ea66286e82..6101f4c4e6 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -52,7 +52,7 @@
52#include "misc.h" 52#include "misc.h"
53#include "lang.h" 53#include "lang.h"
54 54
55#if CONFIG_HWCODEC == MAS3587F 55#ifdef HAVE_RECORDING
56#include "recording.h" 56#include "recording.h"
57#endif 57#endif
58 58
@@ -274,14 +274,11 @@ static bool plugin_browse(void)
274 return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS); 274 return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS);
275} 275}
276 276
277#if CONFIG_HWCODEC == MAS3587F 277#ifdef HAVE_RECORDING
278static bool recording_settings(void) 278static bool recording_settings(void)
279{ 279{
280 return recording_menu(false); 280 return recording_menu(false);
281} 281}
282#endif
283
284#if CONFIG_HWCODEC == MAS3587F
285 282
286bool rec_menu(void) 283bool rec_menu(void)
287{ 284{
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index 09e6fb5f28..33bb80faa1 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -246,7 +246,7 @@ static bool avc(void)
246} 246}
247#endif 247#endif
248 248
249#if CONFIG_HWCODEC == MAS3587F 249#ifdef HAVE_RECORDING
250static bool recsource(void) 250static bool recsource(void)
251{ 251{
252 static const struct opt_items names[] = { 252 static const struct opt_items names[] = {
@@ -438,7 +438,7 @@ bool sound_menu(void)
438 return result; 438 return result;
439} 439}
440 440
441#if CONFIG_HWCODEC == MAS3587F 441#ifdef HAVE_RECORDING
442bool recording_menu(bool no_source) 442bool recording_menu(bool no_source)
443{ 443{
444 int m; 444 int m;