audio: another windows wasapi build fix.

This commit is contained in:
Ozkan Sezer committed 2023-10-18 18:32:00 +03:00
1 parent dd98330076
commit f7dc63bcc3
1 file changed
+1 -1
+1 -1
View File
@@ -368,7 +368,7 @@ static int ActivateWasapiDevice(SDL_AudioDevice *device)
{
// this blocks because we're either being notified from a background thread or we're running during device open,
// both of which won't deadlock vs the device thread.
int rc;
int rc = -1;
return ((WASAPI_ProxyToManagementThread(mgmtthrtask_ActivateDevice, device, &rc) < 0) || (rc < 0)) ? -1 : 0;
}