[svn-commits] dhubbard: trunk r60326 - in /trunk: ./ formats/format_wav.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Apr 5 16:08:08 MST 2007


Author: dhubbard
Date: Thu Apr  5 18:08:07 2007
New Revision: 60326

URL: http://svn.digium.com/view/asterisk?view=rev&rev=60326
Log:
Merged revisions 60325 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60325 | dhubbard | 2007-04-05 17:58:01 -0500 (Thu, 05 Apr 2007) | 1 line

modified default GAIN for issue 5823, thanks jrwalliker
........

Modified:
    trunk/   (props changed)
    trunk/formats/format_wav.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/formats/format_wav.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_wav.c?view=diff&rev=60326&r1=60325&r2=60326
==============================================================================
--- trunk/formats/format_wav.c (original)
+++ trunk/formats/format_wav.c Thu Apr  5 18:08:07 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 svn-commits mailing list