You've already forked libopenshot-audio
mirror of
https://github.com/OpenShot/libopenshot-audio.git
synced 2026-03-02 08:54:01 -08:00
Init COM on thread (WASAPI won't work with libopenshot-audio without this line)
This commit is contained in:
@@ -1572,6 +1572,9 @@ private:
|
||||
StringArray& outDeviceIds,
|
||||
StringArray& inDeviceIds)
|
||||
{
|
||||
// Init COM on thread (WASAPI won't work with libopenshot-audio without this line)
|
||||
CoInitialize(0);
|
||||
|
||||
if (enumerator == nullptr)
|
||||
{
|
||||
if (! check (enumerator.CoCreateInstance (__uuidof (MMDeviceEnumerator))))
|
||||
|
||||
Reference in New Issue
Block a user