AudioCommon/WASAPI: Simplify thread synchronization model by not detaching WASAPI handler thread

This commit is contained in:
Silent committed 2021-01-12 19:21:54 +01:00
1 parent c5a372ab2a
commit ee60be4501
2 files changed
+3 -16

No files matched your search

-1
View File
@@ -45,7 +45,6 @@ public:
private:
u32 m_frames_in_buffer = 0;
std::atomic<bool> m_running = false;
std::atomic<bool> m_stopped = false;
std::thread m_thread;
// CoUninitialize must be called after all WASAPI COM objects have been destroyed,