[asterisk-commits] dhubbard: branch 1.4 r60325 - /branches/1.4/formats/format_wav.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Apr 5 15:58:03 MST 2007


Author: dhubbard
Date: Thu Apr  5 17:58:01 2007
New Revision: 60325

URL: http://svn.digium.com/view/asterisk?view=rev&rev=60325
Log:
modified default GAIN for issue 5823, thanks jrwalliker

Modified:
    branches/1.4/formats/format_wav.c

Modified: branches/1.4/formats/format_wav.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/formats/format_wav.c?view=diff&rev=60325&r1=60324&r2=60325
==============================================================================
--- branches/1.4/formats/format_wav.c (original)
+++ branches/1.4/formats/format_wav.c Thu Apr  5 17:58:01 2007
@@ -61,7 +61,8 @@
 
 #define BLOCKSIZE 160
 
-#define GAIN 2		/* 2^GAIN is the multiple to increase the volume by */
+#define GAIN 0		/* 2^GAIN is the multiple to increase the volume by.  The original value of GAIN was 2, or 4x (12 dB),
+			 * but there were many reports of the clipping of loud signal peaks (issue 5823 for example). */
 
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 #define htoll(b) (b)



More information about the asterisk-commits mailing list