diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-10-27 09:24:02 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-10-27 09:24:02 +0000 |
commit | fb60a291bedfab4f1f245e6eae1beccbf837d3cd (patch) | |
tree | 4cae027557f2973fbe2f811a6a6dabb3ede8d4e4 | |
parent | b91b6dc135126488dd0a4e3e0f7538d690e781b0 (diff) | |
download | rockbox-fb60a291bedfab4f1f245e6eae1beccbf837d3cd.tar.gz rockbox-fb60a291bedfab4f1f245e6eae1beccbf837d3cd.zip |
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
-rw-r--r-- | apps/settings.c | 6 | ||||
-rw-r--r-- | 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[] = | |||
307 | #if CONFIG_HWCODEC == MAS3587F | 307 | #if CONFIG_HWCODEC == MAS3587F |
308 | /* recording */ | 308 | /* recording */ |
309 | {1, S_O(rec_editable), false, "editable recordings", off_on }, | 309 | {1, S_O(rec_editable), false, "editable recordings", off_on }, |
310 | {4, S_O(rec_timesplit), 0, "rec timesplit", /* 0...13 */ | 310 | {4, S_O(rec_timesplit), 0, "rec timesplit", /* 0...15 */ |
311 | "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" }, | 311 | "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" }, |
312 | {1, S_O(rec_channels), 0, "rec channels", "stereo,mono" }, | 312 | {1, S_O(rec_channels), 0, "rec channels", "stereo,mono" }, |
313 | {4, S_O(rec_mic_gain), 8, "rec mic gain", NULL }, | 313 | {4, S_O(rec_mic_gain), 8, "rec mic gain", NULL }, |
314 | {3, S_O(rec_quality), 5, "rec quality", NULL }, | 314 | {3, S_O(rec_quality), 5, "rec quality", NULL }, |
@@ -1532,6 +1532,8 @@ static const unsigned long rec_timer_seconds[] = | |||
1532 | 15*60, /* 00:15 */ | 1532 | 15*60, /* 00:15 */ |
1533 | 30*60, /* 00:30 */ | 1533 | 30*60, /* 00:30 */ |
1534 | 60*60, /* 01:00 */ | 1534 | 60*60, /* 01:00 */ |
1535 | 74*60, /* 74:00 */ | ||
1536 | 80*60, /* 80:00 */ | ||
1535 | 2*60*60, /* 02:00 */ | 1537 | 2*60*60, /* 02:00 */ |
1536 | 4*60*60, /* 04:00 */ | 1538 | 4*60*60, /* 04:00 */ |
1537 | 6*60*60, /* 06:00 */ | 1539 | 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) | |||
307 | { "00:15" , TALK_ID(15, UNIT_MIN) }, | 307 | { "00:15" , TALK_ID(15, UNIT_MIN) }, |
308 | { "00:30" , TALK_ID(30, UNIT_MIN) }, | 308 | { "00:30" , TALK_ID(30, UNIT_MIN) }, |
309 | { "01:00" , TALK_ID(1, UNIT_HOUR) }, | 309 | { "01:00" , TALK_ID(1, UNIT_HOUR) }, |
310 | { "01:14" , TALK_ID(74, UNIT_MIN) }, | ||
311 | { "01:20" , TALK_ID(80, UNIT_MIN) }, | ||
310 | { "02:00" , TALK_ID(2, UNIT_HOUR) }, | 312 | { "02:00" , TALK_ID(2, UNIT_HOUR) }, |
311 | { "04:00" , TALK_ID(4, UNIT_HOUR) }, | 313 | { "04:00" , TALK_ID(4, UNIT_HOUR) }, |
312 | { "06:00" , TALK_ID(6, UNIT_HOUR) }, | 314 | { "06:00" , TALK_ID(6, UNIT_HOUR) }, |
@@ -318,7 +320,7 @@ static bool rectimesplit(void) | |||
318 | }; | 320 | }; |
319 | return set_option(str(LANG_RECORD_TIMESPLIT), | 321 | return set_option(str(LANG_RECORD_TIMESPLIT), |
320 | &global_settings.rec_timesplit, INT, | 322 | &global_settings.rec_timesplit, INT, |
321 | names, 14, NULL ); | 323 | names, 16, NULL ); |
322 | } | 324 | } |
323 | 325 | ||
324 | static bool recprerecord(void) | 326 | static bool recprerecord(void) |