summaryrefslogtreecommitdiff
path: root/apps/sound_menu.c
diff options
context:
space:
mode:
authorChristi Scarborough <christi@coraline.org>2005-02-04 10:37:21 +0000
committerChristi Scarborough <christi@coraline.org>2005-02-04 10:37:21 +0000
commit8a8bd91695f21343baf8fe3d1b118c885716f2a4 (patch)
treeaf75cc279c5338d08afbb694f3b09a3508fdcd75 /apps/sound_menu.c
parenta00619fd7bcf24cd9f34d0779e4a3cd9d82e9379 (diff)
downloadrockbox-8a8bd91695f21343baf8fe3d1b118c885716f2a4.tar.gz
rockbox-8a8bd91695f21343baf8fe3d1b118c885716f2a4.zip
New Recording Option: Show recording screen on startup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5778 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r--apps/sound_menu.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index 6e5b74bfa3..09e6fb5f28 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -374,6 +374,12 @@ static bool recdirectory(void)
374 names, 2, NULL ); 374 names, 2, NULL );
375} 375}
376 376
377static bool reconstartup(void)
378{
379 return set_bool(str(LANG_RECORD_STARTUP),
380 &global_settings.rec_startup);
381}
382
377#endif /* MAS3587F */ 383#endif /* MAS3587F */
378 384
379static void set_chanconf(int val) 385static void set_chanconf(int val)
@@ -437,7 +443,7 @@ bool recording_menu(bool no_source)
437{ 443{
438 int m; 444 int m;
439 int i = 0; 445 int i = 0;
440 struct menu_item items[8]; 446 struct menu_item items[9];
441 bool result; 447 bool result;
442 448
443 items[i].desc = ID2P(LANG_RECORDING_QUALITY); 449 items[i].desc = ID2P(LANG_RECORDING_QUALITY);
@@ -458,6 +464,8 @@ bool recording_menu(bool no_source)
458 items[i++].function = recprerecord; 464 items[i++].function = recprerecord;
459 items[i].desc = ID2P(LANG_RECORD_DIRECTORY); 465 items[i].desc = ID2P(LANG_RECORD_DIRECTORY);
460 items[i++].function = recdirectory; 466 items[i++].function = recdirectory;
467 items[i].desc = ID2P(LANG_RECORD_STARTUP);
468 items[i++].function = reconstartup;
461 469
462 m=menu_init( items, i, NULL, NULL, NULL, NULL); 470 m=menu_init( items, i, NULL, NULL, NULL, NULL);
463 result = menu_run(m); 471 result = menu_run(m);