pulsesink: doesn't notify about volume changes in paused state or after connecting to pulseaudio
Submitted by Christoph Reiter (lazka)
Link to original bug (#748577)
Description
Due to flat-volumes I'm exposing the pulsesink volume property in the UI now and noticed some problems:
-
When the pulsesink is created it returns 1.0 for volume and after going to paused it returns the actual volume assigned by PA. notify::volume never gets fired in between.
-
When in playing state, changing the volume in the gnome sound preferences or pavucontrol, pulsesink fires notify::volume. In the paused state it never fires notify::volume but the volume values changes.
I've currently worked this around my polling pulsesink in case of state change messages on the bus and when the user interacts with the volume widget. It would be nice if pulsesink would notify in all cases where volume potentially changes.
Version: 1.4.4