diff options
author | Marco Carvalho <marcolucio27@gmail.com> | 2023-06-14 21:34:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-15 00:34:55 +0000 |
commit | 82f90704a0662bba7254cb0bc262d785acdabc67 (patch) | |
tree | 72d32a909661d7f26217eee66ffe1d068dcfe101 /src/Ryujinx.Audio/AudioManager.cs | |
parent | f978d3726a87dcc067abb2541b96b831e4390fbb (diff) |
Blocks should be synchronized on read-only fields (#5212)1.1.894
* Blocks should be synchronized on read-only fields
* more readonlys
* fix alignment
* more
* Update ISelfController.cs
* simplify new
* simplify new
Diffstat (limited to 'src/Ryujinx.Audio/AudioManager.cs')
-rw-r--r-- | src/Ryujinx.Audio/AudioManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Audio/AudioManager.cs b/src/Ryujinx.Audio/AudioManager.cs index c37ca4a3..9f2a05b0 100644 --- a/src/Ryujinx.Audio/AudioManager.cs +++ b/src/Ryujinx.Audio/AudioManager.cs @@ -11,7 +11,7 @@ namespace Ryujinx.Audio /// <summary> /// Lock used to control the waiters registration. /// </summary> - private object _lock = new object(); + private readonly object _lock = new(); /// <summary> /// Events signaled when the driver played audio buffers. |