GNOME Bugzilla – Bug 486667
[playbin] should use pulseaudio stream volume if available
Last modified: 2008-03-18 18:14:15 UTC
When rhythmbox is used with pulseaudio output, we have at least two software volume controls: one in rhythmbox and one in pulseaudio. I think that these should be the same, i.e. rhythmbox should manipulate the pulseaudio stream volume. I realise that this is not trivial to implement with the current pulseaudio sink and framework, but nonetheless I think that's how it should behave when pulseaudio is used so pavucontrol etc can be used as well.
This would violate so many layers of encapsulation that it makes my head spin.
This is something we discussed with Lennart already. Totem has the same problem. If the sink allows for "per stream volume", then we shouldn't be using a volume element, but controlling the volume on the sink directly. Moving to GStreamer, as playbin should be doing that for us, and it might require some changes in the sinks.
It'd be nice to have a way to do this in rhythmbox's crossfading player backend, which does not use playbin.
It would probably make sense for pulsesink to implement the mixer interface, and for playbin/bin to check whether the sink supported it. Or something like that
playbin2 now uses the volume property of the sink when it's available and falls back to volume when it's not.
*** This bug has been marked as a duplicate of 473841 ***