After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766020 - pulse: default volume should be the last from the stream
pulse: default volume should be the last from the stream
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-05 09:50 UTC by Victor Toso
Modified: 2018-11-03 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Victor Toso 2016-05-05 09:50:14 UTC
When I use pulseaudio backend in Spice, I retrieve the last volume from the stream using pa_ext_stream_restore_read[0] and I can sync volume between machines before any audio starts.

[0] http://b045.isibrno.cz/share/doc/pulseaudio-libs-devel-0.9.21/html/ext-stream-restore_8h.html#a3e83c1723e241f9e308be4097e1d3973

With pulsesink/pulsesrc, if I try to get the volume before the stream has started, I'll get the default "1.0" [1].

[1] https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/ext/pulse/pulsesink.c#n2612

I think we could use pa_ext_stream_restore if we have the stream-name and return that instead of 100%
Comment 1 GStreamer system administrator 2018-11-03 15:08:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/269.