diff options
| author | Christi Scarborough <christi@coraline.org> | 2005-02-04 10:37:21 +0000 |
|---|---|---|
| committer | Christi Scarborough <christi@coraline.org> | 2005-02-04 10:37:21 +0000 |
| commit | 8a8bd91695f21343baf8fe3d1b118c885716f2a4 (patch) | |
| tree | af75cc279c5338d08afbb694f3b09a3508fdcd75 /apps/sound_menu.c | |
| parent | a00619fd7bcf24cd9f34d0779e4a3cd9d82e9379 (diff) | |
| download | rockbox-8a8bd91695f21343baf8fe3d1b118c885716f2a4.zip rockbox-8a8bd91695f21343baf8fe3d1b118c885716f2a4.tar.gz rockbox-8a8bd91695f21343baf8fe3d1b118c885716f2a4.tar.bz2 rockbox-8a8bd91695f21343baf8fe3d1b118c885716f2a4.tar.xz | |
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.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 6e5b74b..09e6fb5 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c @@ -374,6 +374,12 @@ static bool recdirectory(void) names, 2, NULL ); } +static bool reconstartup(void) +{ + return set_bool(str(LANG_RECORD_STARTUP), + &global_settings.rec_startup); +} + #endif /* MAS3587F */ static void set_chanconf(int val) @@ -437,7 +443,7 @@ bool recording_menu(bool no_source) { int m; int i = 0; - struct menu_item items[8]; + struct menu_item items[9]; bool result; items[i].desc = ID2P(LANG_RECORDING_QUALITY); @@ -458,6 +464,8 @@ bool recording_menu(bool no_source) items[i++].function = recprerecord; items[i].desc = ID2P(LANG_RECORD_DIRECTORY); items[i++].function = recdirectory; + items[i].desc = ID2P(LANG_RECORD_STARTUP); + items[i++].function = reconstartup; m=menu_init( items, i, NULL, NULL, NULL, NULL); result = menu_run(m); |