mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-04 04:15:46 +00:00
feature: Initial .NET 10 Support
Works as of .NET 10.0.0-preview.3.25171.5
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Ryujinx.Audio.Integration
|
||||
|
||||
public void AppendBuffer(ReadOnlySpan<short> data, uint channelCount)
|
||||
{
|
||||
data.CopyTo(MemoryMarshal.Cast<byte, short>(_buffer));
|
||||
data.CopyTo(MemoryMarshal.Cast<byte, short>(new Span<byte>(_buffer)));
|
||||
|
||||
_session.QueueBuffer(new AudioBuffer
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user