From 4aa0739a5e69176391988d2037fca0ef6db612a3 Mon Sep 17 00:00:00 2001 From: capriots <29807355+capriots@users.noreply.github.com> Date: Wed, 27 Oct 2021 02:13:07 +0200 Subject: [PATCH] Correct channel order Documentation says the order is Front L, Front R, Center, LFE, Surround L, Surround R, Rear L, Rear R --- rpcs3/Emu/Cell/Modules/cellAudio.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellAudio.cpp b/rpcs3/Emu/Cell/Modules/cellAudio.cpp index ab6bd02d3a96..f39698a25d13 100644 --- a/rpcs3/Emu/Cell/Modules/cellAudio.cpp +++ b/rpcs3/Emu/Cell/Modules/cellAudio.cpp @@ -972,10 +972,10 @@ void cell_audio_thread::mix(float *out_buffer, s32 offset) const float center = buf[in + 2] * m; [[maybe_unused]] const float low_freq = buf[in + 3] * m; - const float rear_left = buf[in + 4] * m; - const float rear_right = buf[in + 5] * m; - const float side_left = buf[in + 6] * m; - const float side_right = buf[in + 7] * m; + const float side_left = buf[in + 4] * m; + const float side_right = buf[in + 5] * m; + const float rear_left = buf[in + 6] * m; + const float rear_right = buf[in + 7] * m; if constexpr (downmix == audio_downmix::downmix_to_stereo) { @@ -1017,10 +1017,10 @@ void cell_audio_thread::mix(float *out_buffer, s32 offset) const float right = buf[in + 1] * m; const float center = buf[in + 2] * m; const float low_freq = buf[in + 3] * m; - const float rear_left = buf[in + 4] * m; - const float rear_right = buf[in + 5] * m; - const float side_left = buf[in + 6] * m; - const float side_right = buf[in + 7] * m; + const float side_left = buf[in + 4] * m; + const float side_right = buf[in + 5] * m; + const float rear_left = buf[in + 6] * m; + const float rear_right = buf[in + 7] * m; if constexpr (downmix == audio_downmix::downmix_to_stereo) {