From 920516c3e9fe6081a634056aea7b90428b60e3ef Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Sun, 23 Apr 2006 05:30:52 +0000 Subject: 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 --- apps/pcmbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3