gstreamer/sys/wasapi
Jakub Janků 211f968981 wasapi: fix reinit of audioclient in prepare()
When the sink goes from PLAYING to READY and then back to PLAYING,
the initialization of the audioclient in prepare() fails with the
error AUDCLNT_E_ALREADY_INITIALIZED. As a result, the playback
stops.

To fix this, we need to drop the AudioClient in unprepare() and
grab a new one in prepare() to be able to initialize it again
with the new buffer spec.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2096>
2021-07-12 13:47:07 +02:00
..
gstaudioclient3.h wasapi: Fix build with Windows 8.1 SDK 2018-08-08 01:03:53 +05:30
gstwasapi.c wasapi: Increase rank to prefer over directsoundsrc 2018-03-01 15:33:18 +05:30
gstwasapidevice.c wasapi: Don't cast GstDeviceProvider to GstElement 2019-10-14 14:43:59 +00:00
gstwasapidevice.h wasapi: Fix indentation issues missed by the commit hook 2018-02-08 11:46:01 +05:30
gstwasapisink.c wasapi: fix reinit of audioclient in prepare() 2021-07-12 13:47:07 +02:00
gstwasapisink.h wasapi: Fix possible deadlock while downwards state change 2020-06-11 11:40:26 +00:00
gstwasapisrc.c wasapi: split gst_wasapi_util_get_device_client() 2021-07-12 13:47:06 +02:00
gstwasapisrc.h wasapisrc: Make sure that wasapisrc produces data in loopback mode 2020-09-30 12:57:34 +00:00
gstwasapiutil.c wasapi: split gst_wasapi_util_get_device_client() 2021-07-12 13:47:06 +02:00
gstwasapiutil.h wasapi: split gst_wasapi_util_get_device_client() 2021-07-12 13:47:06 +02:00
meson.build docs: Build documentation with hotdoc 2019-05-13 17:00:00 -04:00