From b8ad676fb8cbe0a43617df41daaf284ab4421c75 Mon Sep 17 00:00:00 2001 From: Mary Date: Sun, 18 Jul 2021 13:05:11 +0200 Subject: Amadeus: DSP code generation improvements (#2460) This improve RyuJIT codegen drastically on the DSP side. This may reduce CPU usage of the DSP thread quite a lot. --- Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs') diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs index ba9a0357..87e830dd 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs @@ -35,7 +35,7 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command public void Process(CommandList context) { - context.Buffers.Span.Fill(0); + context.ClearBuffers(); } } } -- cgit v1.2.3