From 4de600b46ecdac7c9b9f861ce54d446189718538 Mon Sep 17 00:00:00 2001 From: Adam Gashlin Date: Wed, 14 Feb 2007 07:33:41 +0000 Subject: Remove dishonest spc amplification git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12301 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/spc/Spc_Dsp.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/codecs/spc/Spc_Dsp.h b/apps/codecs/spc/Spc_Dsp.h index b297630b42..0cf55dee8a 100644 --- a/apps/codecs/spc/Spc_Dsp.h +++ b/apps/codecs/spc/Spc_Dsp.h @@ -487,9 +487,8 @@ static void DSP_run_( struct Spc_Dsp* this, long count, int32_t* out_buf ) /* (g.flags & 0x40) ? 30 : 14 */ int const global_muting = ((this->r.g.flags & 0x40) >> 2) + 14; - /* scaling to offset quietage */ - int const global_vol_0 = this->r.g.volume_0 * 3; - int const global_vol_1 = this->r.g.volume_1 * 3; + int const global_vol_0 = this->r.g.volume_0; + int const global_vol_1 = this->r.g.volume_1; /* each rate divides exactly into 0x7800 without remainder */ int const env_rate_init = 0x7800; -- cgit v1.2.3