pcm: perform stereo volume mixing for vchans
authorSimon Schubert <simon.schubert@epfl.ch>
Thu, 23 Jul 2009 14:09:15 +0000 (16:09 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Sun, 9 Aug 2009 08:32:22 +0000 (10:32 +0200)
commit86f860a7a40e2047fd04500e4d197fca68525962
tree8606b4420b180ae5ce237289a054bff5a8712417
parentef5488790dfc78207b3ed0e9ef063443736624d0
pcm: perform stereo volume mixing for vchans

The vchan code before only performed an average volume mix for both
channels, thus not allowing to pan between left and right vchan channel.
Now we perform actual stereo volume mixing for left and right channel.
sys/dev/sound/pcm/vchan.c