File tree Expand file tree Collapse file tree
include/libremidi/backends/winmm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ class observer_winmm : public observer_api
107107 return {
108108 {.api = libremidi::API::WINDOWS_MM,
109109 .client = 0 ,
110- .device = usb_device_identifier{.vid = deviceCaps.wMid , .pid = deviceCaps.wPid },
110+ .device
111+ = usb_device_identifier{.vendor_id = deviceCaps.wMid , .product_id = deviceCaps.wPid },
111112 .port = index,
112113 .manufacturer = " " ,
113114 .device_name = " " ,
@@ -127,7 +128,8 @@ class observer_winmm : public observer_api
127128 return {
128129 {.api = libremidi::API::WINDOWS_MM,
129130 .client = 0 ,
130- .device = usb_device_identifier{.vid = deviceCaps.wMid , .pid = deviceCaps.wPid },
131+ .device
132+ = usb_device_identifier{.vendor_id = deviceCaps.wMid , .product_id = deviceCaps.wPid },
131133 .port = index,
132134 .manufacturer = " " ,
133135 .device_name = " " ,
You can’t perform that action at this time.
0 commit comments