]> code.delx.au - pulseaudio/commit
alsa: correct assumptions about channels an element lacks
authorVladimir Kokarev <matrix47@gmail.com>
Wed, 16 Sep 2009 23:26:18 +0000 (01:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 16 Sep 2009 23:26:18 +0000 (01:26 +0200)
commite63c867f8714a790e157c5e6f834b421cc82ae33
treecfb2ffbbd595b4287c49f1a47f86b3aa05c9b04e
parent1a6974a1e2f013e6ae522bc404adf24724f3127b
alsa: correct assumptions about channels an element lacks

If an element does not control some channels assume they are 0dB in
comparison to the other elements, i.e. do not influence the volume at
all. Previously we were assuming they were as high as the highest of the
channels we do control.
src/modules/alsa/alsa-mixer.c