]> code.delx.au - pulseaudio/commit
sample-util: Fix "Darth Vader" panning bug
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 9 Feb 2012 14:59:20 +0000 (15:59 +0100)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 10 Feb 2012 09:36:35 +0000 (15:06 +0530)
commit2ce7d38005a82c56cbc1ad2af70afabe9def9e0d
tree2d4336e005237045599c635370611cf000227656
parent0521db6cf75cf61162c35505ee7baf9e5f21789d
sample-util: Fix "Darth Vader" panning bug

For muted channels, we forgot to increment a pointer, so if one
channel was muted but not the other, sound became distorted in a
Darth Vader like way. To test the difference, start two input
streams and pan one of them hard left (or right).

And hey, if you didn't think it sounded like Darth Vader, it's
your imagination that's broken, not mine! ;-)

BugLink: https://bugs.launchpad.net/bugs/928757
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/pulsecore/sample-util.c