commit a2a9be9743eb4bced7fef471e5350b46354bf234
parent 13ed3ffbe74364fd4f72b6381318d40a09b23d68
Author: sin <sin@2f30.org>
Date: Mon, 18 Nov 2013 17:24:37 +0000
Default to 44.1kHz 16-bit stereo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spectrum.c b/spectrum.c
@@ -14,7 +14,7 @@
#define LEN(x) (sizeof (x) / sizeof *(x))
static unsigned msec = 1000 / 25; /* 25 fps */
-static unsigned nsamples = 2048; /* mono */
+static unsigned nsamples = 44100 * 2; /* stereo */
static char symbol = '|';
static char *fname = "/tmp/audio.fifo";
static char *argv0;