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

This commit is contained in:
Silent
2021-01-12 19:21:54 +01:00
parent c5a372ab2a
commit ee60be4501
2 changed files with 3 additions and 16 deletions
-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,