# HG changeset patch # User William Pitcock # Date 1183291299 18000 # Node ID bde384804637bf5d205df371c98b8fc7dd4a4b59 # Parent 1e1cd00878c8021bf76e24ae911306b7331672a1 Fix division by 32767, should be 32768. Reported by Raphael Doursenaud, closes #977. diff -r 1e1cd00878c8 -r bde384804637 src/jack/bio2jack.c --- 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 */