more Lock

This commit is contained in:
Marco Carvalho
2024-12-03 12:00:40 -03:00
committed by Evan Husted
parent fb32540b6e
commit 938886824e
19 changed files with 34 additions and 33 deletions

View File

@@ -19,12 +19,12 @@ namespace Ryujinx.Audio.Renderer.Server
/// <summary>
/// Lock used for session allocation.
/// </summary>
private readonly object _sessionLock = new();
private readonly Lock _sessionLock = new();
/// <summary>
/// Lock used to control the <see cref="AudioProcessor"/> running state.
/// </summary>
private readonly object _audioProcessorLock = new();
private readonly Lock _audioProcessorLock = new();
/// <summary>
/// The session ids allocation table.