GNOME Bugzilla – Bug 537543
[pulse] sink/src should have "volume" property (was GstMixer)
Last modified: 2009-01-29 13:33:24 UTC
Playbin2 is using the mixer interface of the sink if available. In order to get rid of the duplication of volume control, we should have in in pulse sink/src. see bug 473841
btw, I just started this work on the sink and have some issue with multi-threading stuff ;).
> Playbin2 is using the mixer interface of the sink if available. playbin2 will look for a "volume" property on the sink, you don't have to implement the mixer interface just for the stream-volume thing.
(In reply to comment #2) > playbin2 will look for a "volume" property on the sink, you don't have to > implement the mixer interface just for the stream-volume thing. thanks for the info :)
With this commit pulsesink has commented out (because not working) support for a "volume" property. If someone could find the reason why it doesn't work that'd be great :) 2008-08-13 Sebastian Dröge <sebastian.droege@collabora.co.uk> * ext/pulse/pulsesink.c: (gst_pulsesink_class_init), (gst_pulsesink_init), (gst_pulsesink_finalize), (gst_pulsesink_set_volume), (gst_pulsesink_get_volume), (gst_pulsesink_set_property), (gst_pulsesink_get_property), (gst_pulsesink_prepare), (gst_pulsesink_change_state): * ext/pulse/pulsesink.h: Add "device-name" property to pulsesink too and currently commented out and not working support for a "volume" property.
This is fixed in GIT and 0.10.14 will contain the fix.