1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2004-10-27 09:24:02 +00:00
parent b91b6dc135
commit fb60a291be
2 changed files with 7 additions and 3 deletions

View file

@ -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 */

View file

@ -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)