]> git.alsa-project.org Git - alsa-lib.git/commit
pcm dmix plugin: fix generic direct remixing
authorClemens Ladisch <clemens@ladisch.de>
Mon, 14 Jan 2008 07:52:16 +0000 (08:52 +0100)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 14 Jan 2008 07:52:16 +0000 (08:52 +0100)
commitfb3a4e8b7016e27c326bc51e3b1484b4741d8b1c
tree07e834829c299ce9d94fa0845023889f9b2ecf12
parent0e8a2599143c71a20d043e458f2a9fa3be4efeaa
pcm dmix plugin: fix generic direct remixing

In the case of the sum buffer being uninitialized, the source sample
must be negated not only when writing to the sum but also when writing
to the destination.
src/pcm/pcm_dmix_generic.c