mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Correct channel order
Documentation says the order is Front L, Front R, Center, LFE, Surround L, Surround R, Rear L, Rear R
This commit is contained in:
parent
2af2db2cbf
commit
ac300c7356
1 changed files with 8 additions and 8 deletions
|
@ -972,10 +972,10 @@ void cell_audio_thread::mix(float *out_buffer, s32 offset)
|
||||||
const float center = buf[in + 2] * m;
|
const float center = buf[in + 2] * m;
|
||||||
[[maybe_unused]]
|
[[maybe_unused]]
|
||||||
const float low_freq = buf[in + 3] * m;
|
const float low_freq = buf[in + 3] * m;
|
||||||
const float rear_left = buf[in + 4] * m;
|
const float side_left = buf[in + 4] * m;
|
||||||
const float rear_right = buf[in + 5] * m;
|
const float side_right = buf[in + 5] * m;
|
||||||
const float side_left = buf[in + 6] * m;
|
const float rear_left = buf[in + 6] * m;
|
||||||
const float side_right = buf[in + 7] * m;
|
const float rear_right = buf[in + 7] * m;
|
||||||
|
|
||||||
if constexpr (downmix == audio_downmix::downmix_to_stereo)
|
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 right = buf[in + 1] * m;
|
||||||
const float center = buf[in + 2] * m;
|
const float center = buf[in + 2] * m;
|
||||||
const float low_freq = buf[in + 3] * m;
|
const float low_freq = buf[in + 3] * m;
|
||||||
const float rear_left = buf[in + 4] * m;
|
const float side_left = buf[in + 4] * m;
|
||||||
const float rear_right = buf[in + 5] * m;
|
const float side_right = buf[in + 5] * m;
|
||||||
const float side_left = buf[in + 6] * m;
|
const float rear_left = buf[in + 6] * m;
|
||||||
const float side_right = buf[in + 7] * m;
|
const float rear_right = buf[in + 7] * m;
|
||||||
|
|
||||||
if constexpr (downmix == audio_downmix::downmix_to_stereo)
|
if constexpr (downmix == audio_downmix::downmix_to_stereo)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue