Просмотр исходного кода

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.
Mary 5 лет назад
Родитель
Сommit
000ba5f7cc
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Ryujinx.Audio.Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs

+ 2 - 2
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> frontLeft = context.GetBuffer(InputBufferIndices[0]);
             ReadOnlySpan<float> frontRight = context.GetBuffer(InputBufferIndices[1]);
             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> backLeft = context.GetBuffer(InputBufferIndices[4]);
             ReadOnlySpan<float> backRight = context.GetBuffer(InputBufferIndices[5]);
             ReadOnlySpan<float> backRight = context.GetBuffer(InputBufferIndices[5]);