From: Dwayne M. Hubbard Date: Thu, 5 Apr 2007 22:58:01 +0000 (+0000) Subject: modified default GAIN for issue 5823, thanks jrwalliker X-Git-Tag: 1.4.7.1~475 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8581b4d0d56e4abe80d20637843ba06f873ac482;p=thirdparty%2Fasterisk.git modified default GAIN for issue 5823, thanks jrwalliker git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60325 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)