Use MMDeviceFinder for wasapi2sink

This commit is contained in:
Jonas Kvinge
2025-10-19 18:32:42 +02:00
parent d61adeb595
commit 098b21d818
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ using namespace Qt::Literals::StringLiterals;
DEFINE_GUID(CLSID_MMDeviceEnumerator, 0xbcde0395, 0xe52f, 0x467c, 0x8e, 0x3d, 0xc4, 0x57, 0x92, 0x91, 0x69, 0x2e);
#endif
MMDeviceFinder::MMDeviceFinder() : DeviceFinder(u"mmdevice"_s, { u"wasapisink"_s }) {}
MMDeviceFinder::MMDeviceFinder() : DeviceFinder(u"mmdevice"_s, { u"wasapisink"_s, u"wasapi2sink"_s }) {}
EngineDeviceList MMDeviceFinder::ListDevices() {

View File

@@ -45,7 +45,7 @@ using namespace ABI::Windows::Devices::Enumeration;
using namespace Qt::Literals::StringLiterals;
UWPDeviceFinder::UWPDeviceFinder() : DeviceFinder(u"uwpdevice"_s, { u"wasapi2sink"_s }) {}
UWPDeviceFinder::UWPDeviceFinder() : DeviceFinder(u"uwpdevice"_s, { u"wasapi2sink_"_s }) {}
namespace {