diff options
author | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-05 22:58:01 +0000 |
---|---|---|
committer | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-05 22:58:01 +0000 |
commit | 65ed897e0a316d05a804b7929a23a2639a0e7d17 (patch) | |
tree | e2721413431d32fded95b7115ab57e73cb951df6 | |
parent | 8785f0c00dcf84a0e7f4504e6a79488c340725d2 (diff) |
modified default GAIN for issue 5823, thanks jrwalliker
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60325 f38db490-d61c-443f-a65b-d21fe96a405b
-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) |