summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/pcmbuf.c2
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);
}
}