aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs
diff options
context:
space:
mode:
authorMary <me@thog.eu>2021-07-18 13:05:11 +0200
committerGitHub <noreply@github.com>2021-07-18 13:05:11 +0200
commitb8ad676fb8cbe0a43617df41daaf284ab4421c75 (patch)
tree743775369a175af0859f3e27e14e4ed4ce8b6877 /Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs
parent97a21332071aceeef6f5035178a3523177570448 (diff)
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.
Diffstat (limited to 'Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs')
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs
index 6c446f05..01fcf70d 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs
@@ -61,7 +61,6 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
UpsamplerInfo = info;
}
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
private Span<float> GetBuffer(int index, int sampleCount)
{
return UpsamplerInfo.OutputBuffer.Span.Slice(index * sampleCount, sampleCount);