diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-04-23 05:30:52 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-04-23 05:30:52 +0000 |
commit | 920516c3e9fe6081a634056aea7b90428b60e3ef (patch) | |
tree | 49438e7821f3a5271886be0763260a40c39e68a0 | |
parent | f932cf6f0d5e1cffdc78c6488b3555cf83317f0d (diff) |
Whoops, forgot to 'duck' the music below the voice when I redid the mix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9772 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/pcmbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index 85a23e78bd..0c12790389 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c @@ -947,7 +947,7 @@ void pcmbuf_mix_voice(size_t length) obuf = pcmbuf_mix_chunk->addr; chunk_samples = pcmbuf_mix_chunk->size / 2; } - sample += obuf[pcmbuf_mix_sample]; + sample += obuf[pcmbuf_mix_sample] >> 2; obuf[pcmbuf_mix_sample++] = MIN(MAX(sample, -32768), 32767); } } |