Here's a bunch of patches related to the volume sharing feature. The first patch is the main one. It's now tested to some degree (quite well, I believe), but of course reviewing should still be done. The rest of the patches are fixes and improvements for the virtual sink and source modules, which I used for testing the new functionality. Tanu Kaskinen (6): Implement the "volume sharing" feature. virtual-sink: Add a modarg for enabling volume sharing. virtual-sink: Add a modarg for forcing flat volume. virtual-sink/source: Use a more descriptive stream name. virtual-sink/source: Remove an unused variable. virtual-sink: Fix a crash when moving the sink to a new master right after setup. src/modules/module-virtual-sink.c | 48 ++- src/modules/module-virtual-source.c | 7 +- src/modules/rtp/rtp.h | 3 + src/pulse/def.h | 11 + src/pulsecore/play-memblockq.c | 6 + src/pulsecore/protocol-native.c | 2 +- src/pulsecore/sink-input.c | 204 +++++++++++-- src/pulsecore/sink.c | 555 +++++++++++++++++++++++++---------- src/pulsecore/sink.h | 4 + 9 files changed, 633 insertions(+), 207 deletions(-) -- 1.7.3.4