]> code.delx.au - pulseaudio/commit
alsa-mixer: Do not 'unify' mixer paths.
authorColin Guthrie <colin@mageia.org>
Sat, 2 Jul 2011 15:29:00 +0000 (16:29 +0100)
committerColin Guthrie <colin@mageia.org>
Wed, 20 Jul 2011 21:23:10 +0000 (22:23 +0100)
commit85834107a0eb81a823287b3a9ae834314961c290
tree19ab1484745a01e7420ef75a21d960b6352c828b
parent6c6b50d6a8bbd7fc7fb2cfb59a66183741567922
alsa-mixer: Do not 'unify' mixer paths.

Unification is really just a 'lowest common denominator' system. If any
paths do not support volume, mute or decibels, then mark them all as not
having them.

This was originally done this way because the flags set on sinks that
dictate if it supports h/w volume, mute etc. could not be changed after
the sink was created.

The fact that these flags could not change has now been change in the
previous commits, and thus there is now no need to use this 'lowest
common denominator' approach as we can fully support the various
different combinations, even if they change after initial creation
of the sinks/source.
src/modules/alsa/alsa-mixer.c