diff options
author | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-05 23:08:07 +0000 |
---|---|---|
committer | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-05 23:08:07 +0000 |
commit | d30e10b717c97c48f41c6ef4dfed5b6ec08cd0af (patch) | |
tree | a6d089d1ec5f2362f251407dc9c468a9b089f2b2 /formats | |
parent | 51e1df17d2ac58727fa4863b703ca04fd5a12e99 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@60326 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats')
-rw-r--r-- | formats/format_wav.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/formats/format_wav.c b/formats/format_wav.c index 1bc922b93..2081433a6 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) |