Skip to content

Commit

Permalink
Correct channel order
Browse files Browse the repository at this point in the history
Documentation says the order is Front L, Front R, Center, LFE, Surround L, Surround R, Rear L, Rear R
  • Loading branch information
capriots authored and Nekotekina committed Oct 27, 2021
1 parent 2af2db2 commit ac300c7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions rpcs3/Emu/Cell/Modules/cellAudio.cpp
Original file line number Diff line number Diff line change
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

0 comments on commit ac300c7

Please sign in to comment.