fix bug in sndxa2 driver that made it chow major cpu in a busy loop

This commit is contained in:
zeromus 2015-08-10 15:54:47 +00:00
parent 8e3ff3c708
commit 76c390b17a
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ int SNDXA2Init(int buffersize)
return -1;
}
bufferReadyEvent = CreateEvent(NULL,TRUE,TRUE,NULL);
bufferReadyEvent = CreateEvent(NULL,FALSE,TRUE,NULL);
threadQuitEvent = CreateEvent(NULL,TRUE,TRUE,NULL);
exitthread = false;