summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-11-18 08:55:25 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-11-18 08:55:25 +0000
commit54e96e9696bbad6037509fdd97f2d7d67663a493 (patch)
treea8462729fcace0f752ca2c2e0c5ca4d74ac96bf3
parent210de716dbbb51c10814920e644b348ccd5c7e68 (diff)
downloadrockbox-54e96e9696bbad6037509fdd97f2d7d67663a493.zip
rockbox-54e96e9696bbad6037509fdd97f2d7d67663a493.tar.gz
rockbox-54e96e9696bbad6037509fdd97f2d7d67663a493.tar.bz2
rockbox-54e96e9696bbad6037509fdd97f2d7d67663a493.tar.xz
Patch #844001 by Dave Jones, fixes the >6h time split bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4034 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/recording.c22
1 files changed, 14 insertions, 8 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index ab15274..b440764 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -92,14 +92,20 @@ static char *fmtstr[] =
/* This array holds the record timer interval lengths, in seconds */
static unsigned long rec_timer_seconds[] =
{
- 0, /* off */
- 300, /* 00:05 */
- 600, /* 00:10 */
- 900, /* 00:15 */
- 1800, /* 00:30 */
- 3600, /* 01:00 */
- 7200, /* 02:00 */
- 14400, /* 04:00 */
+ 0, /* off */
+ 5*60, /* 00:05 */
+ 10*60, /* 00:10 */
+ 15*60, /* 00:15 */
+ 30*60, /* 00:30 */
+ 60*60, /* 01:00 */
+ 2*60*60, /* 02:00 */
+ 4*60*60, /* 04:00 */
+ 6*60*60, /* 06:00 */
+ 8*60*60, /* 08:00 */
+ 10*60*60, /* 10:00 */
+ 12*60*60, /* 12:00 */
+ 18*60*60, /* 18:00 */
+ 24*60*60 /* 24:00 */
};
char *fmt_gain(int snd, int val, char *str, int len)