mmdevice: move MTA initialization to the worker thread
Compare changes
+ 41
− 24
@@ -75,6 +75,12 @@ static void LeaveMTA(void)
@@ -96,6 +102,7 @@ typedef struct
@@ -924,6 +931,7 @@ static HRESULT MMSession(audio_output_t *aout, IMMDeviceEnumerator *it)
@@ -1095,14 +1103,29 @@ static void *MMThread(void *data)
@@ -1124,6 +1147,13 @@ static void *MMThread(void *data)
@@ -1338,33 +1368,20 @@ static int Open(vlc_object_t *obj)