1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-01 04:22:01 +00:00

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.
This commit is contained in:
Mary 2020-08-27 19:53:34 +02:00 committed by GitHub
parent 27179d0218
commit 000ba5f7cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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[2]);
ReadOnlySpan<float> frontCenter = context.GetBuffer(InputBufferIndices[3]); 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]);