aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_wav.c')
-rw-r--r--formats/format_wav.c3
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)