diff options
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r-- | apps/sound_menu.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 26f37ea0e7..f101b5d8a4 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c | |||
@@ -225,6 +225,17 @@ static bool receditable(void) | |||
225 | return set_bool(str(LANG_RECORDING_EDITABLE), | 225 | return set_bool(str(LANG_RECORDING_EDITABLE), |
226 | &global_settings.rec_editable); | 226 | &global_settings.rec_editable); |
227 | } | 227 | } |
228 | |||
229 | static bool rectimesplit(void) | ||
230 | { | ||
231 | char *names[] = {str(LANG_OFF), "00:05","00:10","00:15", | ||
232 | "00:30","01:00","02:00","04:00"}; | ||
233 | |||
234 | return set_option(str(LANG_RECORD_TIMESPLIT), | ||
235 | &global_settings.rec_timesplit, | ||
236 | names, 8, NULL ); | ||
237 | } | ||
238 | |||
228 | #endif /* HAVE_MAS3587F */ | 239 | #endif /* HAVE_MAS3587F */ |
229 | 240 | ||
230 | static void set_chanconf(int val) | 241 | static void set_chanconf(int val) |
@@ -282,6 +293,7 @@ bool recording_menu(void) | |||
282 | { str(LANG_RECORDING_SOURCE), recsource }, | 293 | { str(LANG_RECORDING_SOURCE), recsource }, |
283 | { str(LANG_RECORDING_CHANNELS), recchannels }, | 294 | { str(LANG_RECORDING_CHANNELS), recchannels }, |
284 | { str(LANG_RECORDING_EDITABLE), receditable }, | 295 | { str(LANG_RECORDING_EDITABLE), receditable }, |
296 | { str(LANG_RECORD_TIMESPLIT), rectimesplit }, | ||
285 | }; | 297 | }; |
286 | 298 | ||
287 | m=menu_init( items, sizeof items / sizeof(struct menu_items) ); | 299 | m=menu_init( items, sizeof items / sizeof(struct menu_items) ); |