pulse: never apply volume more than once
authorLennart Poettering <lennart@poettering.net>
Sat, 17 Oct 2009 00:18:53 +0000 (02:18 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 18 Oct 2009 08:15:59 +0000 (10:15 +0200)
commite4d6a2aa2c6b8b3d9137a38e10d28434eb31a580
tree38c325e1af2df27b2e90976f29089cd48b50ce7f
parent92fd59024b7b19303fa1993d78a78f514e9505c5
pulse: never apply volume more than once

Generally decisions on the volume of the stream should be done inside of
PA, not inside of Gst. Only PA knows how volumes translate between
devices and s on.

This patch makes sure that all volumes set via the volume property are
only applied *once* to the underlying stream. After applying them the
client side will not store them anymore. This should make sure that
really only user-triggered volume changes are forwarded to server, but
the client never tries to save/restore the volume internally.

Fixes bug #595231.
ext/pulse/pulsesink.c