wasapi: Patched to compile.
This commit is contained in:
@@ -56,7 +56,8 @@ static int mgmtthrtask_DefaultAudioDeviceChanged(void *userdata)
|
|||||||
|
|
||||||
static void WASAPI_DefaultAudioDeviceChanged(SDL_AudioDevice *new_default_device)
|
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)
|
int WASAPI_PlatformInit(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user