mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Merge pull request #11813 from libretro/revert-11811-xaudio
Revert "Windows: Fix multiple XAudio instances"
This commit is contained in:
commit
ac5c45f333
@ -57,10 +57,6 @@ static void audio_thread_loop(void *data)
|
||||
if (!thr)
|
||||
return;
|
||||
|
||||
#if defined(_WIN32)
|
||||
CoInitialize(NULL);
|
||||
#endif
|
||||
|
||||
thr->driver_data = thr->driver->init(
|
||||
thr->device, thr->out_rate, thr->latency,
|
||||
thr->block_frames, thr->new_rate);
|
||||
@ -170,10 +166,6 @@ static void audio_thread_free(void *data)
|
||||
if (thr->cond)
|
||||
scond_free(thr->cond);
|
||||
free(thr);
|
||||
|
||||
#if defined(_WIN32)
|
||||
CoUninitialize(NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool audio_thread_alive(void *data)
|
||||
|
Loading…
Reference in New Issue
Block a user