when we mix into a 16bit accumulator make sure we clamp before we scale with a volume...
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Oct 2008 00:29:56 +0000 (02:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 2 Oct 2008 00:29:56 +0000 (02:29 +0200)
commitea82dec294310b83be25b4e0c940fd2cd2c7eeb3
treef68e05851c314a8caed9cd0084d43e56f37f6883
parent08cf9db0d17f8e2cfc68976fd96f0374721cdf22
when we mix into a 16bit accumulator make sure we clamp before we scale with a volume to avoid range faults when multiplying
src/pulsecore/sample-util.c
src/tests/mix-test.c