commit ce55a7e74c7b8aeb6ef2b656586d454eb5493dec parent 031ee001c1f0f3d3ba50ee1a5901a282efabb5c3 Author: sin <sin@2f30.org> Date: Fri, 22 Nov 2013 11:00:41 +0000 Clarify that fr->in is not an integer Diffstat:
M | spectrum.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spectrum.c b/spectrum.c @@ -121,7 +121,7 @@ update(struct frame *fr) /* average the two channels */ fr->in[i] = fr->buf[i * 2 + 0]; fr->in[i] += fr->buf[i * 2 + 1]; - fr->in[i] /= 2; + fr->in[i] /= 2.; } }