]> code.delx.au - pulseaudio/commit
Allow read-only or non-existing sink input volume.
authorTanu Kaskinen <tanu.kaskinen@digia.com>
Mon, 14 Feb 2011 11:41:06 +0000 (13:41 +0200)
committerColin Guthrie <cguthrie@mandriva.org>
Tue, 22 Feb 2011 20:12:31 +0000 (20:12 +0000)
commit99ddca89cdca9b0b92ab9870764f9211e6a82e31
treecaa9634df48e0383a26c7e7e012ee49c5786cf01
parentfa12d2a8a88c0eed7b460cde033af0573070696b
Allow read-only or non-existing sink input volume.

There are two known cases where read-only or non-existing sink input volume is
relevant: passthrough streams and the planned volume sharing logic.
Passthrough streams don't have volume at all, and the volume sharing logic
requires read-only sink input volume. This commit is primarily working towards
the volume sharing feature, but support for non-existing sink input volume is
also added, because it is so closely related to read-only volume.

Some unrelated refactoring in iface-stream.c creeped into this commit too (new
function: stream_to_string()).
PROTOCOL
src/modules/dbus/iface-stream.c
src/modules/module-stream-restore.c
src/pulse/introspect.h
src/pulsecore/cli-command.c
src/pulsecore/cli-text.c
src/pulsecore/protocol-native.c
src/pulsecore/sink-input.c
src/pulsecore/sink-input.h