Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cellAudio: Fix audio channel order #11066

Merged
merged 1 commit into from Oct 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions rpcs3/Emu/Cell/Modules/cellAudio.cpp
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down