aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/backends/wasapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp
index fc626fc6..ebd095fd 100644
--- a/alc/backends/wasapi.cpp
+++ b/alc/backends/wasapi.cpp
@@ -735,7 +735,7 @@ struct DeviceHelper final : private IMMNotificationClient
std::ignore = AddDevice(deviceInfo, deviceInfo.Id().data(), list);
}
}
- catch (std::exception& /*ex*/) {
+ catch (const winrt::hresult_error& /*ex*/) {
}
}
#endif