From: Dwayne M. Hubbard Date: Thu, 5 Apr 2007 23:08:07 +0000 (+0000) Subject: Merged revisions 60325 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~2904 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f20e43614aa319d5592de0299a8f924dfa0efb1;p=thirdparty%2Fasterisk.git 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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60326 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/formats/format_wav.c b/formats/format_wav.c index 1bc922b935..2081433a6e 100644 --- a/formats/format_wav.c +++ b/formats/format_wav.c @@ -61,7 +61,8 @@ struct wav_desc { /* format-specific parameters */ #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)