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
gstwasapi.c
gstwasapidevice.c
gstwasapidevice.h
gstwasapisink.c wasapi: fix reinit of audioclient in prepare() 2021-07-12 13:47:07 +02:00
gstwasapisink.h
gstwasapisrc.c wasapi: split gst_wasapi_util_get_device_client() 2021-07-12 13:47:06 +02:00
gstwasapisrc.h
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