diff options
-rw-r--r-- | Alc/backends/wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/wasapi.cpp b/Alc/backends/wasapi.cpp index b55187ab..64e7d43c 100644 --- a/Alc/backends/wasapi.cpp +++ b/Alc/backends/wasapi.cpp @@ -259,7 +259,7 @@ void add_device(IMMDevice *device, const WCHAR *devid, std::vector<DevMap> &list int count{1}; std::string newname{basename}; - while(checkName(PlaybackDevices, newname)) + while(checkName(list, newname)) { newname = basename; newname += " #"; |