mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
AudioCommon/WASAPI: Construct std::thread with invoke semantics instead of a lambda
This commit is contained in:
parent
11c5150c16
commit
cb854d7832
@ -300,7 +300,7 @@ bool WASAPIStream::SetRunning(bool running)
|
|||||||
m_need_data_event = std::move(need_data_event);
|
m_need_data_event = std::move(need_data_event);
|
||||||
|
|
||||||
m_running.store(true, std::memory_order_relaxed);
|
m_running.store(true, std::memory_order_relaxed);
|
||||||
m_thread = std::thread([this] { SoundLoop(); });
|
m_thread = std::thread(&WASAPIStream::SoundLoop, this);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user