forked from MeloNX/MeloNX
Fix race condition on OpenALAudioOut (#448)
This commit is contained in:
parent
68bb719988
commit
e58ff533ed
@ -182,7 +182,10 @@ namespace Ryujinx.Audio.OpenAL
|
||||
{
|
||||
foreach (Track Td in Tracks.Values)
|
||||
{
|
||||
Td.CallReleaseCallbackIfNeeded();
|
||||
lock (Td)
|
||||
{
|
||||
Td.CallReleaseCallbackIfNeeded();
|
||||
}
|
||||
}
|
||||
|
||||
//If it's not slept it will waste cycles.
|
||||
|
Loading…
x
Reference in New Issue
Block a user