pulse: default volume should be the last from the stream
Submitted by Victor Toso
When I use pulseaudio backend in Spice, I retrieve the last volume from the stream using pa_ext_stream_restore_read and I can sync volume between machines before any audio starts.
With pulsesink/pulsesrc, if I try to get the volume before the stream has started, I'll get the default "1.0" .
I think we could use pa_ext_stream_restore if we have the stream-name and return that instead of 100%