Migrate to .NET 9 (#198)

This commit is contained in:
Marco Carvalho
2024-12-19 21:52:25 -03:00
committed by GitHub
parent 8db5a7e98b
commit ff6628149d
136 changed files with 278 additions and 270 deletions

View File

@ -2,6 +2,7 @@ using Ryujinx.Common;
using Ryujinx.Common.Memory;
using System;
using System.Buffers;
using System.Threading;
namespace Ryujinx.Audio.Backends.Common
{
@ -12,7 +13,7 @@ namespace Ryujinx.Audio.Backends.Common
{
private const int RingBufferAlignment = 2048;
private readonly object _lock = new();
private readonly Lock _lock = new();
private MemoryOwner<byte> _bufferOwner;
private Memory<byte> _buffer;