From 000ba5f7cc2509086cbebbcfb1415f2beebe5f22 Mon Sep 17 00:00:00 2001 From: Mary Date: Thu, 27 Aug 2020 19:53:34 +0200 Subject: [PATCH] Amadeus: Fix inverted downmixing of center and lfe (#1507) This fix front center and lfe being inverted in input of the DownMixSurroundToStereoCommand. This fix: - Voices being missing on FE3H videos - Mario Tennis Aces missing backgroun - Probably more. --- .../Dsp/Command/DownMixSurroundToStereoCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.Audio.Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs b/Ryujinx.Audio.Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs index 76f5c576..7b790cdf 100644 --- a/Ryujinx.Audio.Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs +++ b/Ryujinx.Audio.Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs @@ -62,8 +62,8 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command { ReadOnlySpan frontLeft = context.GetBuffer(InputBufferIndices[0]); ReadOnlySpan frontRight = context.GetBuffer(InputBufferIndices[1]); - ReadOnlySpan lowFrequency = context.GetBuffer(InputBufferIndices[2]); - ReadOnlySpan frontCenter = context.GetBuffer(InputBufferIndices[3]); + ReadOnlySpan frontCenter = context.GetBuffer(InputBufferIndices[2]); + ReadOnlySpan lowFrequency = context.GetBuffer(InputBufferIndices[3]); ReadOnlySpan backLeft = context.GetBuffer(InputBufferIndices[4]); ReadOnlySpan backRight = context.GetBuffer(InputBufferIndices[5]);