summaryrefslogtreecommitdiff
path: root/src/output/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-03-08 14:02:16 +0100
committerMax Kellermann <max@musicpd.org>2021-03-08 14:02:49 +0100
commit927f1e03a3e53879e737a1696c4b226aa4017418 (patch)
tree87c4357b78ab0d27f225bf41324830bc8175cced /src/output/plugins
parentf2c679cfec46a26297056abb845bfdd3f36930e8 (diff)
win32/Com: make COINIT_APARTMENTTHREADED the default constructor
Diffstat (limited to 'src/output/plugins')
-rw-r--r--src/output/plugins/wasapi/WasapiOutputPlugin.cxx2
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();