summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/WASAPIStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/AudioCommon/WASAPIStream.cpp')
-rw-r--r--Source/Core/AudioCommon/WASAPIStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/WASAPIStream.cpp b/Source/Core/AudioCommon/WASAPIStream.cpp
index 7664356132..a22d369121 100644
--- a/Source/Core/AudioCommon/WASAPIStream.cpp
+++ b/Source/Core/AudioCommon/WASAPIStream.cpp
@@ -300,7 +300,7 @@ bool WASAPIStream::SetRunning(bool running)
m_need_data_event = std::move(need_data_event);
m_running.store(true, std::memory_order_relaxed);
- m_thread = std::thread([this] { SoundLoop(); });
+ m_thread = std::thread(&WASAPIStream::SoundLoop, this);
}
else
{