mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
589ff8ca6d
Adding IMMDeviceEnumerator::RegisterEndpointNotificationCallback in order to support device monitoring. On OnDeviceAdded(), OnDeviceRemoved(), and OnDefaultDeviceChanged() callback, wasapi device provider implementation will enumerate devices again and will notify newly added and removed device via GstDeviceProvider API. As a bonus point, this IMMDeviceEnumerator abstraction object will spawn a dedicated internal COM thread, so various COM thread related issues of WASAPI plugin can be resolved by this commit. Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1649 Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1110 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2484> |
||
---|---|---|
.. | ||
gstaudioclient3.h | ||
gstmmdeviceenumerator.cpp | ||
gstmmdeviceenumerator.h | ||
gstwasapi.c | ||
gstwasapidevice.c | ||
gstwasapidevice.h | ||
gstwasapisink.c | ||
gstwasapisink.h | ||
gstwasapisrc.c | ||
gstwasapisrc.h | ||
gstwasapiutil.c | ||
gstwasapiutil.h | ||
meson.build |