changeset 1198:bde384804637 trunk

Fix division by 32767, should be 32768. Reported by Raphael Doursenaud, closes #977.
author William Pitcock <nenolod@atheme-project.org>
date Sun, 01 Jul 2007 07:01:39 -0500
parents 1e1cd00878c8
children 2cb9c6b5cf4d
files src/jack/bio2jack.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jack/bio2jack.c	Sat Jun 23 23:35:05 2007 -0500
+++ b/src/jack/bio2jack.c	Sun Jul 01 07:01:39 2007 -0500
@@ -370,7 +370,7 @@
 }
 
 
-#define SAMPLE_MAX_16BIT  32767.0f
+#define SAMPLE_MAX_16BIT  32768.0f
 #define SAMPLE_MAX_8BIT   255.0f
 
 /* floating point volume routine */