mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-29 17:57:11 +02:00
Fix race condition on OpenALAudioOut (#448)
This commit is contained in:
parent
68bb719988
commit
e58ff533ed
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue