fix bug in sndxa2 driver that made it chow major cpu in a busy loop
This commit is contained in:
parent
8e3ff3c708
commit
76c390b17a
|
@ -128,7 +128,7 @@ int SNDXA2Init(int buffersize)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
bufferReadyEvent = CreateEvent(NULL,TRUE,TRUE,NULL);
|
bufferReadyEvent = CreateEvent(NULL,FALSE,TRUE,NULL);
|
||||||
threadQuitEvent = CreateEvent(NULL,TRUE,TRUE,NULL);
|
threadQuitEvent = CreateEvent(NULL,TRUE,TRUE,NULL);
|
||||||
exitthread = false;
|
exitthread = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue