aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/wasapi.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-10-01 23:20:08 -0700
committerChris Robinson <[email protected]>2023-10-01 23:20:08 -0700
commit32b89db9aee9b30ce37469a670750bfeb63e57c9 (patch)
tree19322abd7de1c11c2ec1d0be8667cbf6f1ac7b1c /alc/backends/wasapi.cpp
parentcd09bd95ca655011cf1654f1cd8775f3edbcbb71 (diff)
Declare a missing variable
Diffstat (limited to 'alc/backends/wasapi.cpp')
-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 b6d7aaed..37151ef9 100644
--- a/alc/backends/wasapi.cpp
+++ b/alc/backends/wasapi.cpp
@@ -729,7 +729,7 @@ struct DeviceHelper final : private IMMNotificationClient
auto deviceCount = DeviceInfoCollection.Size();
for(unsigned int i{0};i < deviceCount;++i)
{
- deviceInfo = DeviceInfoCollection.GetAt(i);
+ auto deviceInfo = DeviceInfoCollection.GetAt(i);
if(deviceInfo)
std::ignore = AddDevice(deviceInfo, deviceInfo.Id().data(), list);
}