From 56f771e76a8b7707553c472d08b745e45f79c64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= 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/settings.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 965037b..7805518 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -1032,9 +1032,15 @@ bool settings_load_config(char* file) set_sound(value, SOUND_RIGHT_GAIN, &global_settings.rec_right_gain); else if (!strcasecmp(name, "rec quality")) set_cfg_int(&global_settings.rec_quality, value, 0, 7); + else if (!strcasecmp(name, "rec timesplit")){ + static char* options[] = {"off", "00:05","00:10","00:15", + "00:30","01:00","02:00","04:00"}; + set_cfg_option(&global_settings.rec_timesplit, value, + options, 8); + } else if (!strcasecmp(name, "rec source")) { static char* options[] = {"mic", "line", "spdif"}; - set_cfg_option(&global_settings.rec_source, value, options, 3); + set_cfg_option(&global_settings.rec_source, value, options, 3); } else if (!strcasecmp(name, "rec frequency")) { static char* options[] = {"44", "48", "32", "22", "24", "16"}; -- cgit v1.1