diff options
author | Adam Gashlin <agashlin@gmail.com> | 2007-02-14 07:33:41 +0000 |
---|---|---|
committer | Adam Gashlin <agashlin@gmail.com> | 2007-02-14 07:33:41 +0000 |
commit | 4de600b46ecdac7c9b9f861ce54d446189718538 (patch) | |
tree | 78e994ea5795b3ac6de013b750f2a7ac509e44ed /apps/codecs/spc/Spc_Dsp.h | |
parent | 5599d6806d12d22b724d7967717edae07db3e08f (diff) |
Remove dishonest spc amplification
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12301 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/spc/Spc_Dsp.h')
-rw-r--r-- | apps/codecs/spc/Spc_Dsp.h | 5 |
1 files 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; |