From 33c5f984f533bc101f4a92130a2b56432d5dcc08 Mon Sep 17 00:00:00 2001 From: Milek7 Date: Sun, 4 Apr 2021 08:40:56 +0200 Subject: Codechange: Use COINIT_MULTITHREADED in CoInitializeEx (#8938) --- src/music/dmusic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/music/dmusic.cpp b/src/music/dmusic.cpp index b0e34070c..c9447206a 100644 --- a/src/music/dmusic.cpp +++ b/src/music/dmusic.cpp @@ -1071,7 +1071,7 @@ static const char *LoadDefaultDLSFile(const char *user_dls) const char *MusicDriver_DMusic::Start(const StringList &parm) { /* Initialize COM */ - if (FAILED(CoInitializeEx(nullptr, COINITBASE_MULTITHREADED))) return "COM initialization failed"; + if (FAILED(CoInitializeEx(nullptr, COINIT_MULTITHREADED))) return "COM initialization failed"; /* Create the DirectMusic object */ if (FAILED(CoCreateInstance( -- cgit v1.2.3-70-g09d2