From fb60a291bedfab4f1f245e6eae1beccbf837d3cd Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 27 Oct 2004 09:24:02 +0000 Subject: Added 74 and 80 minute recording time splits, for convenient CD creation, fixes feature request #1052616 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5370 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 6 ++++-- apps/sound_menu.c | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/settings.c b/apps/settings.c index 4bb9adbc81..2ee4126adb 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -307,8 +307,8 @@ static const struct bit_entry hd_bits[] = #if CONFIG_HWCODEC == MAS3587F /* recording */ {1, S_O(rec_editable), false, "editable recordings", off_on }, - {4, S_O(rec_timesplit), 0, "rec timesplit", /* 0...13 */ - "off,00:05,00:10,00:15,00:30,01:00,02:00,04:00,06:00,08:00,10:00,12:00,18:00,24:00" }, + {4, S_O(rec_timesplit), 0, "rec timesplit", /* 0...15 */ + "off,00:05,00:10,00:15,00:30,01:00,01:14,01:20,02:00,04:00,06:00,08:00,10:00,12:00,18:00,24:00" }, {1, S_O(rec_channels), 0, "rec channels", "stereo,mono" }, {4, S_O(rec_mic_gain), 8, "rec mic gain", NULL }, {3, S_O(rec_quality), 5, "rec quality", NULL }, @@ -1532,6 +1532,8 @@ static const unsigned long rec_timer_seconds[] = 15*60, /* 00:15 */ 30*60, /* 00:30 */ 60*60, /* 01:00 */ + 74*60, /* 74:00 */ + 80*60, /* 80:00 */ 2*60*60, /* 02:00 */ 4*60*60, /* 04:00 */ 6*60*60, /* 06:00 */ diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 369f2114fa..de5b8c0a8c 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c @@ -307,6 +307,8 @@ static bool rectimesplit(void) { "00:15" , TALK_ID(15, UNIT_MIN) }, { "00:30" , TALK_ID(30, UNIT_MIN) }, { "01:00" , TALK_ID(1, UNIT_HOUR) }, + { "01:14" , TALK_ID(74, UNIT_MIN) }, + { "01:20" , TALK_ID(80, UNIT_MIN) }, { "02:00" , TALK_ID(2, UNIT_HOUR) }, { "04:00" , TALK_ID(4, UNIT_HOUR) }, { "06:00" , TALK_ID(6, UNIT_HOUR) }, @@ -318,7 +320,7 @@ static bool rectimesplit(void) }; return set_option(str(LANG_RECORD_TIMESPLIT), &global_settings.rec_timesplit, INT, - names, 14, NULL ); + names, 16, NULL ); } static bool recprerecord(void) -- cgit v1.2.3