Commit graph

8 commits

Author SHA1 Message Date
Marc-André Lureau
43762ed620 flat-volume: use pa_sink_get_volume(s, TRUE) to work with slaved sink 2009-01-15 19:20:33 +01:00
Lennart Poettering
37b8c45e2b query the sink volume outside of the loop because it might be quite expensive 2008-10-08 00:14:54 +02:00
Lennart Poettering
34f6a516b2 use pa_sink_set_volume() for changing the volume 2008-10-08 00:14:25 +02:00
Lennart Poettering
b048ae9f78 check the maximum volume of all sink inputs instead of the average volume to avoid digital amplification in favour of attenuation 2008-10-08 00:13:53 +02:00
Lennart Poettering
404cf74332 some minor reformatting 2008-10-08 00:12:59 +02:00
Lennart Poettering
8bc58cc757 ignore sinks that do not carry decibel information 2008-10-08 00:12:15 +02:00
Lennart Poettering
776c8dec3c remove $Id$ 2008-10-08 00:10:56 +02:00
Marc-Andre Lureau
80a79b15df flat-volume thingy
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-07 01:54:35 +02:00