DynamicRingBuffer.Write(): change Span<byte> to ReadOnlySpan<byte>

This commit is contained in:
jhorv 2024-04-05 22:38:07 -04:00
parent bf6e5930cf
commit 7e2f6203c4

View file

@ -86,7 +86,7 @@ namespace Ryujinx.Audio.Backends.Common
_tailOffset = _size;
}
public void Write(Span<byte> buffer, int index, int count)
public void Write(ReadOnlySpan<byte> buffer, int index, int count)
{
if (count == 0)
{