summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.c6
-rw-r--r--apps/settings.h13
-rw-r--r--apps/sound_menu.c10
3 files changed, 16 insertions, 13 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 01aacbcf6c..b04609d7bb 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -1039,9 +1039,11 @@ bool settings_load_config(char* file)
1039 set_cfg_int(&global_settings.rec_quality, value, 0, 7); 1039 set_cfg_int(&global_settings.rec_quality, value, 0, 7);
1040 else if (!strcasecmp(name, "rec timesplit")){ 1040 else if (!strcasecmp(name, "rec timesplit")){
1041 static char* options[] = {"off", "00:05","00:10","00:15", 1041 static char* options[] = {"off", "00:05","00:10","00:15",
1042 "00:30","01:00","02:00","04:00"}; 1042 "00:30","01:00","02:00","04:00",
1043 "06:00","08:00","10:00","12:00",
1044 "18:00","24:00"};
1043 set_cfg_option(&global_settings.rec_timesplit, value, 1045 set_cfg_option(&global_settings.rec_timesplit, value,
1044 options, 8); 1046 options, 14);
1045 } 1047 }
1046 else if (!strcasecmp(name, "rec source")) { 1048 else if (!strcasecmp(name, "rec source")) {
1047 static char* options[] = {"mic", "line", "spdif"}; 1049 static char* options[] = {"mic", "line", "spdif"};
diff --git a/apps/settings.h b/apps/settings.h
index 2d437fe0a0..624b06e06b 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -77,14 +77,11 @@ struct user_settings
77 bool rec_editable; /* true means that the bit reservoir is off */ 77 bool rec_editable; /* true means that the bit reservoir is off */
78 78
79 /* note: timesplit setting is not saved */ 79 /* note: timesplit setting is not saved */
80 int rec_timesplit; /* 0 = off 80 int rec_timesplit; /* 0 = off,
81 1 = 00:05 81 1 = 00:05, 2 = 00:10, 3 = 00:15, 4 = 00:30
82 2 = 00:10 82 5 = 01:00, 6 = 02:00, 7 = 04:00, 8 = 06:00
83 3 = 00:15 83 9 = 08:00, 10= 10:00, 11= 12:00, 12= 18:00,
84 4 = 00:30 84 13= 24:00 */
85 5 = 01:00
86 6 = 02:00
87 7 = 04:00 */
88 85
89 /* device settings */ 86 /* device settings */
90 87
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index 7acff7554d..deb95ebddc 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -228,12 +228,16 @@ static bool receditable(void)
228 228
229static bool rectimesplit(void) 229static bool rectimesplit(void)
230{ 230{
231 char *names[] = {str(LANG_OFF), "00:05","00:10","00:15", 231 char *names[] = {
232 "00:30","01:00","02:00","04:00"}; 232 str(LANG_OFF), "00:05","00:10","00:15",
233 "00:30","01:00","02:00","04:00"
234 "06:00","08:00","10:00","12:00",
235 "18:00","24:00"
236 };
233 237
234 return set_option(str(LANG_RECORD_TIMESPLIT), 238 return set_option(str(LANG_RECORD_TIMESPLIT),
235 &global_settings.rec_timesplit, INT, 239 &global_settings.rec_timesplit, INT,
236 names, 8, NULL ); 240 names, 14, NULL );
237} 241}
238 242
239#endif /* HAVE_MAS3587F */ 243#endif /* HAVE_MAS3587F */