wasapi2src loopback not working on Windows Server 2016
On Windows Server 2016 (Version 10.0.14393 Build 14393) wasapi2src loopback seems not able to capture any audio, the same pipeline works on Windows Server 2019 and 2022.
The issue can be reproduced from command line with:
> gst-launch-1.0 wasapi2src loopback=true ! queue ! audioconvert ! wavescope ! autovideosink
Use Windows high-resolution clock, precision: 1 ms
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.d3d11.device.handle=context, device=(GstD3D11Device)"\(GstD3D11Device\)\ d3d11device2", adapter=(uint)0, adapter-luid=(gint64)1758329, device-id=(uint)140, vendor-id=(uint)5140, hardware=(boolean)true, description=(string)"Microsoft\ Basic\ Render\ Driver";
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstAudioSrcClock
No dialog with the audio visualization is opened.