From 56f771e76a8b7707553c472d08b745e45f79c64f Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 4 Jun 2003 13:48:50 +0000 Subject: Dave Jones' recording time split feature (patch #697373) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3725 a1c6a512-1295-4272-9138-f99709370657 --- apps/sound_menu.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'apps/sound_menu.c') 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) return set_bool(str(LANG_RECORDING_EDITABLE), &global_settings.rec_editable); } + +static bool rectimesplit(void) +{ + char *names[] = {str(LANG_OFF), "00:05","00:10","00:15", + "00:30","01:00","02:00","04:00"}; + + return set_option(str(LANG_RECORD_TIMESPLIT), + &global_settings.rec_timesplit, + names, 8, NULL ); +} + #endif /* HAVE_MAS3587F */ static void set_chanconf(int val) @@ -282,6 +293,7 @@ bool recording_menu(void) { str(LANG_RECORDING_SOURCE), recsource }, { str(LANG_RECORDING_CHANNELS), recchannels }, { str(LANG_RECORDING_EDITABLE), receditable }, + { str(LANG_RECORD_TIMESPLIT), rectimesplit }, }; m=menu_init( items, sizeof items / sizeof(struct menu_items) ); -- cgit v1.2.3