wasapi2: Add device provider implementation
authorSeungha Yang <seungha@centricular.com>
Wed, 27 May 2020 20:09:47 +0000 (05:09 +0900)
committerNirbheek Chauhan <nirbheek@centricular.com>
Mon, 8 Jun 2020 03:10:05 +0000 (03:10 +0000)
commita6a4267c7b2683516524fc730d74b62a3aeb3ef9
treeb447b671e89b9231225e73bf7d6e4286fbdde600
parent27784576781a89752010c32ad6df51b38cd2339c
wasapi2: Add device provider implementation

Similar to device provider implementation of wasapi plugin,
this implementation supports only static probing.
But we can implement runtime device add/remove/update
monitoring using DeviceWatcher interface later.

See https://docs.microsoft.com/en-us/uwp/api/windows.devices.enumeration.devicewatcher

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1264>
sys/wasapi2/gstwasapi2device.c [new file with mode: 0644]
sys/wasapi2/gstwasapi2device.h [new file with mode: 0644]
sys/wasapi2/meson.build
sys/wasapi2/plugin.c