summaryrefslogtreecommitdiff
path: root/apps/sound_menu.c
diff options
context:
space:
mode:
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);