summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-11 06:22:56 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-11 06:22:56 +0000
commit39e4987ea5c2326249583b53afcd9038d8209ba9 (patch)
tree2b69be6d56f4258bcce803aa3d02b6476997175a /apps
parent631d22b8e55f695a43d0e8ecc353f79688f32507 (diff)
Reduce gain of VGM codec to avoid clipping.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30279 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/libgme/vgm_emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/vgm_emu.c b/apps/codecs/libgme/vgm_emu.c
index 5d230ed9b5..0cd1768991 100644
--- a/apps/codecs/libgme/vgm_emu.c
+++ b/apps/codecs/libgme/vgm_emu.c
@@ -104,7 +104,7 @@ void Vgm_init( struct Vgm_Emu* this )
// Set sound gain, a value too high
// will cause saturation
- Sound_set_gain(this, (int)FP_ONE_GAIN);
+ Sound_set_gain(this, (int)(FP_ONE_GAIN*0.7));
// Unload
this->voice_count = 0;