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

This commit is contained in:
Silent 2019-08-17 10:08:16 +02:00
parent c5a372ab2a
commit ee60be4501
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
2 changed files with 3 additions and 16 deletions

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,