diff options
author | Max Kellermann <max@musicpd.org> | 2021-03-08 14:02:16 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-03-08 14:02:49 +0100 |
commit | 927f1e03a3e53879e737a1696c4b226aa4017418 (patch) | |
tree | 87c4357b78ab0d27f225bf41324830bc8175cced /src/output | |
parent | f2c679cfec46a26297056abb845bfdd3f36930e8 (diff) |
win32/Com: make COINIT_APARTMENTTHREADED the default constructor
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/plugins/wasapi/WasapiOutputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx index f49d9748b..a0c08008f 100644 --- a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx +++ b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx @@ -307,7 +307,7 @@ IAudioClient *wasapi_output_get_client(WasapiOutput &output) noexcept { void WasapiOutputThread::Work() noexcept { SetThreadName("Wasapi Output Worker"); FormatDebug(wasapi_output_domain, "Working thread started"); - COM com{true}; + COM com; while (true) { try { event.Wait(); |