Fix race condition on OpenALAudioOut (#448)
This commit is contained in:
parent
b2063be597
commit
dd3cb33c9f
@ -181,9 +181,12 @@ namespace Ryujinx.Audio.OpenAL
|
||||
do
|
||||
{
|
||||
foreach (Track Td in Tracks.Values)
|
||||
{
|
||||
lock (Td)
|
||||
{
|
||||
Td.CallReleaseCallbackIfNeeded();
|
||||
}
|
||||
}
|
||||
|
||||
//If it's not slept it will waste cycles.
|
||||
Thread.Sleep(10);
|
||||
|
Loading…
Reference in New Issue
Block a user