diff options
| author | Mary <me@thog.eu> | 2021-07-18 13:05:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-18 13:05:11 +0200 |
| commit | b8ad676fb8cbe0a43617df41daaf284ab4421c75 (patch) | |
| tree | 743775369a175af0859f3e27e14e4ed4ce8b6877 /Ryujinx.Audio/Renderer/Server/CommandBuffer.cs | |
| parent | 97a21332071aceeef6f5035178a3523177570448 (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/Server/CommandBuffer.cs')
| -rw-r--r-- | Ryujinx.Audio/Renderer/Server/CommandBuffer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs b/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs index 24cc93af..deb20f3d 100644 --- a/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs +++ b/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs @@ -478,7 +478,7 @@ namespace Ryujinx.Audio.Renderer.Server /// <param name="outputBufferOffset">The output buffer offset.</param> /// <param name="downMixParameter">The downmixer parameters to use.</param> /// <param name="nodeId">The node id associated to this command.</param> - public void GenerateDownMixSurroundToStereo(uint bufferOffset, Span<byte> inputBufferOffset, Span<byte> outputBufferOffset, ReadOnlySpan<float> downMixParameter, int nodeId) + public void GenerateDownMixSurroundToStereo(uint bufferOffset, Span<byte> inputBufferOffset, Span<byte> outputBufferOffset, float[] downMixParameter, int nodeId) { DownMixSurroundToStereoCommand command = new DownMixSurroundToStereoCommand(bufferOffset, inputBufferOffset, outputBufferOffset, downMixParameter, nodeId); |
