diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-08-01 00:48:49 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-08-01 00:48:49 -0300 |
| commit | b92189cb711fcf39255e04d3256c2728f271dbfd (patch) | |
| tree | bcf4404026042ee09de9a294a25e2964fb077e1c /Ryujinx.Audio/OpenAL/OpenALAudioOut.cs | |
| parent | ce96a45685a9ab9e24d8d604185b14a04f4c4abd (diff) | |
Sleep OpenAL thread (#313)
Diffstat (limited to 'Ryujinx.Audio/OpenAL/OpenALAudioOut.cs')
| -rw-r--r-- | Ryujinx.Audio/OpenAL/OpenALAudioOut.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.Audio/OpenAL/OpenALAudioOut.cs b/Ryujinx.Audio/OpenAL/OpenALAudioOut.cs index 1dd63202..85e2d803 100644 --- a/Ryujinx.Audio/OpenAL/OpenALAudioOut.cs +++ b/Ryujinx.Audio/OpenAL/OpenALAudioOut.cs @@ -222,7 +222,8 @@ namespace Ryujinx.Audio.OpenAL Td.CallReleaseCallbackIfNeeded(); } - Thread.Yield(); + //If it's not slept it will waste cycles + Thread.Sleep(10); } while (KeepPolling); } |
