summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ab1527444c..b440764c9d 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -92,14 +92,20 @@ static char *fmtstr[] =
92/* This array holds the record timer interval lengths, in seconds */ 92/* This array holds the record timer interval lengths, in seconds */
93static unsigned long rec_timer_seconds[] = 93static unsigned long rec_timer_seconds[] =
94{ 94{
95 0, /* off */ 95 0, /* off */
96 300, /* 00:05 */ 96 5*60, /* 00:05 */
97 600, /* 00:10 */ 97 10*60, /* 00:10 */
98 900, /* 00:15 */ 98 15*60, /* 00:15 */
99 1800, /* 00:30 */ 99 30*60, /* 00:30 */
100 3600, /* 01:00 */ 100 60*60, /* 01:00 */
101 7200, /* 02:00 */ 101 2*60*60, /* 02:00 */
102 14400, /* 04:00 */ 102 4*60*60, /* 04:00 */
103 6*60*60, /* 06:00 */
104 8*60*60, /* 08:00 */
105 10*60*60, /* 10:00 */
106 12*60*60, /* 12:00 */
107 18*60*60, /* 18:00 */
108 24*60*60 /* 24:00 */
103}; 109};
104 110
105char *fmt_gain(int snd, int val, char *str, int len) 111char *fmt_gain(int snd, int val, char *str, int len)