From 54e96e9696bbad6037509fdd97f2d7d67663a493 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 18 Nov 2003 08:55:25 +0000 Subject: 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 --- apps/recorder/recording.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'apps/recorder') diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index ab1527444c..b440764c9d 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) -- cgit v1.2.3