pulseaudio/src/modules/alsa
Lu Guanqun 6efa693fe7 alsa-mixer: Fix the assumption that volume is always positive
Add a variable to track whether the actual volume is set or not.
Suppose this:
	min volume: -126	max volume: 0
then when user wants to set some constant volume to -10, it would fail.

While the alsa values are typically positive, some values are "funky"
and have negative values. It is desirable to fix this at the alsa
level so that the numbers are positive, but it's not technically
invalid, and thus we have to support it.

Discussed here:
http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/9832
and
http://thread.gmane.org/gmane.linux.alsa.devel/85459
2011-05-30 11:22:21 +01:00
..
mixer alsa-mixer: Remove passthrough profiles 2011-05-02 11:55:38 +05:30
alsa-mixer.c alsa-mixer: Fix the assumption that volume is always positive 2011-05-30 11:22:21 +01:00
alsa-mixer.h alsa-mixer: Implement constant volume. 2011-03-20 12:42:27 +00:00
alsa-sink.c core: Factor out passthrough checks into their own functions 2011-05-02 11:55:39 +05:30
alsa-sink.h alsa: rework mixer logic 2009-06-17 03:45:14 +02:00
alsa-source.c alsa: Fix log output to inform about positive base volumes correctly. 2011-04-04 13:34:18 +01:00
alsa-source.h alsa: rework mixer logic 2009-06-17 03:45:14 +02:00
alsa-util.c Fix up according to Coding Style 2011-03-11 11:49:35 +00:00
alsa-util.h alsa: work around slightly broken _delay implementations 2010-09-09 17:03:34 +01:00
module-alsa-card.c alsa-card: Print the profile set configuration when loading the card. 2011-03-11 13:39:50 +02:00
module-alsa-sink.c Update PA_MODULE_USAGE to be in line with actual implementation 2011-03-18 12:07:02 +00:00
module-alsa-source.c Update PA_MODULE_USAGE to be in line with actual implementation 2011-03-18 12:07:02 +00:00