Commit a01af1b4 authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

systemvolumeplugin: populate sink description with sink name when building with minGW32

parent d071d034
Pipeline #66893 passed with stage
in 4 minutes and 33 seconds
...@@ -295,6 +295,8 @@ bool SystemvolumePlugin::sendSinkList() ...@@ -295,6 +295,8 @@ bool SystemvolumePlugin::sendSinkList()
deviceProperties->GetValue(PKEY_Device_DeviceDesc, &deviceProperty); deviceProperties->GetValue(PKEY_Device_DeviceDesc, &deviceProperty);
desc = QString::fromWCharArray(deviceProperty.pwszVal); desc = QString::fromWCharArray(deviceProperty.pwszVal);
//PropVariantClear(&deviceProperty); //PropVariantClear(&deviceProperty);
desc = name;
#endif #endif
QJsonObject sinkObject; QJsonObject sinkObject;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment