pulsesrc: Implement GstStreamVolume interface
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 24 Nov 2011 06:35:33 +0000 (12:05 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 25 Nov 2011 17:00:41 +0000 (22:30 +0530)
commit1f4bb687940f87a05a43cac1fcb074afac9cd7f8
treeebaa17bcda4a6f22185d36471710e2e91f81a174
parent8c6a5486987fd3bc03e13b5540a9e71ee7b89d0d
pulsesrc: Implement GstStreamVolume interface

PulseAudio 1.0 supports per-source-output volumes, and this exposes the
functionality via the GstStreamVolume interface.

When compiled against pre-1.0 PulseAudio, the interface is not
implemented, and the "volume" or "mute" properties are not available.
This bit of ugliness will go away when we can depend on PulseAudio 1.0
or greater.

https://bugzilla.gnome.org/show_bug.cgi?id=595055
ext/pulse/pulsesrc.c
ext/pulse/pulsesrc.h