aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary <me@thog.eu>2020-08-27 19:53:34 +0200
committerGitHub <noreply@github.com>2020-08-27 14:53:34 -0300
commit000ba5f7cc2509086cbebbcfb1415f2beebe5f22 (patch)
treeea51fb3fd571944d465fa0e30c6d61dec98a157b
parent27179d02180396750cc2ea08ac1e2cc5a91a8763 (diff)
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.
-rw-r--r--Ryujinx.Audio.Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs4
1 files 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<float> frontLeft = context.GetBuffer(InputBufferIndices[0]);
ReadOnlySpan<float> frontRight = context.GetBuffer(InputBufferIndices[1]);
- ReadOnlySpan<float> lowFrequency = context.GetBuffer(InputBufferIndices[2]);
- ReadOnlySpan<float> frontCenter = context.GetBuffer(InputBufferIndices[3]);
+ ReadOnlySpan<float> frontCenter = context.GetBuffer(InputBufferIndices[2]);
+ ReadOnlySpan<float> lowFrequency = context.GetBuffer(InputBufferIndices[3]);
ReadOnlySpan<float> backLeft = context.GetBuffer(InputBufferIndices[4]);
ReadOnlySpan<float> backRight = context.GetBuffer(InputBufferIndices[5]);