wasapi: Patched to compile.
This commit is contained in:
parent
9bec57309c
commit
85923049a6
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ static int mgmtthrtask_DefaultAudioDeviceChanged(void *userdata)
|
|||
|
||||
static void WASAPI_DefaultAudioDeviceChanged(SDL_AudioDevice *new_default_device)
|
||||
{
|
||||
WASAPI_ProxyToManagementThread(mgmtthrtask_DetectDevices, new_default_device, NULL); // don't wait on this, IMMDevice's own thread needs to return or everything will deadlock.
|
||||
// don't wait on this, IMMDevice's own thread needs to return or everything will deadlock.
|
||||
WASAPI_ProxyToManagementThread(mgmtthrtask_DefaultAudioDeviceChanged, new_default_device, NULL);
|
||||
}
|
||||
|
||||
int WASAPI_PlatformInit(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue