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 793059 - wasapi: Implement automatic stream management
wasapi: Implement automatic stream management
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-31 10:46 UTC by Nirbheek Chauhan
Modified: 2018-11-03 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nirbheek Chauhan 2018-01-31 10:46:46 UTC
Currently, when using wasapisrc/wasapisink, if the default source devices changes WASAPI captures and sends us silence, and if the default sink device changes WASAPI throws away all rendered audio. Starting with Windows 10, WASAPI now has automatic stream management:

https://msdn.microsoft.com/en-us/library/windows/desktop/mt784437(v=vs.85).aspx

We should implement this in such a way that this mechanism is used at runtime if running on Windows 10, and a fallback mechanism (manually switching devices) is used when running on Windows 7 or 8.
Comment 1 Nirbheek Chauhan 2018-05-25 13:43:53 UTC
We can also choose to only implement the automatic stream management bits that are available on Windows 10.

To implement the manual switchover, we need to subscribe to device change events[1], then stop the device (reset), init a new one, and start using it.

1. https://msdn.microsoft.com/en-us/library/windows/desktop/dd756609(v=vs.85).aspx
Comment 2 GStreamer system administrator 2018-11-03 14:17:37 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-bad/issues/651.