mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-10 13:43:17 +02:00
Sleep OpenAL thread (#313)
This commit is contained in:
parent
ce96a45685
commit
b92189cb71
@ -222,7 +222,8 @@ namespace Ryujinx.Audio.OpenAL
|
|||||||
Td.CallReleaseCallbackIfNeeded();
|
Td.CallReleaseCallbackIfNeeded();
|
||||||
}
|
}
|
||||||
|
|
||||||
Thread.Yield();
|
//If it's not slept it will waste cycles
|
||||||
|
Thread.Sleep(10);
|
||||||
}
|
}
|
||||||
while (KeepPolling);
|
while (KeepPolling);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user