summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/WASAPIStream.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2026-07-29 13:28:58 +1200
committerGitHub <noreply@github.com>2026-07-29 13:28:58 +1200
commit1c10b9e9abde05f2dc484e4f02e44e6e59fdd6ba (patch)
tree1237aeb6fe06b150c93235e4e8d0b42192338e32 /Source/Core/AudioCommon/WASAPIStream.cpp
parent475f35e2faf1ef297350788f022953c6b31cc833 (diff)
parent08e183d322981c705ba9fc7f4f1476cc7e7e5f23 (diff)
Merge pull request #14738 from tygyh/Replace-concatination-with-stdformat
Replace string concatination with `fmt::format`
Diffstat (limited to 'Source/Core/AudioCommon/WASAPIStream.cpp')
-rw-r--r--Source/Core/AudioCommon/WASAPIStream.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/WASAPIStream.cpp b/Source/Core/AudioCommon/WASAPIStream.cpp
index 174ffbc9cb..9571b175bc 100644
--- a/Source/Core/AudioCommon/WASAPIStream.cpp
+++ b/Source/Core/AudioCommon/WASAPIStream.cpp
@@ -15,6 +15,8 @@
#include <thread>
+#include <fmt/format.h>
+
#include "Common/Assert.h"
#include "Common/HRWrap.h"
#include "Common/Logging/Log.h"
@@ -110,7 +112,7 @@ static void ForEachNamedDevice(const std::function<bool(ComPtr<IMMDevice>, std::
{
ComPtr<IMMDevice> device;
devices->Item(i, &device);
- if (!HandleWinAPI("Failed to get device " + std::to_string(i), result))
+ if (!HandleWinAPI(fmt::format("Failed to get device {}", i), result))
continue;
ComPtr<IPropertyStore> device_properties;