diff --git a/src/audio_core/sink/sink_stream.cpp b/src/audio_core/sink/sink_stream.cpp index 6f59ba4af1..f6faa4d4a6 100644 --- a/src/audio_core/sink/sink_stream.cpp +++ b/src/audio_core/sink/sink_stream.cpp @@ -52,10 +52,8 @@ void SinkStream::AppendBuffer(SinkBuffer& buffer, std::span samples) { ccoeff[u32(Channels::FrontRight)], }; - const f32 left = rcoeff[0] * tcoeff[0] + rcoeff[2] * tcoeff[1] + - rcoeff[3] * tcoeff[2] + rcoeff[1] * tcoeff[3]; - const f32 right = rcoeff[5] * tcoeff[0] + rcoeff[2] * tcoeff[1] + - rcoeff[3] * tcoeff[2] + rcoeff[4] * tcoeff[3]; + const f32 left = rcoeff[0] * tcoeff[0] + rcoeff[2] * tcoeff[1] + rcoeff[3] * tcoeff[2] + rcoeff[1] * tcoeff[3]; + const f32 right = rcoeff[5] * tcoeff[0] + rcoeff[2] * tcoeff[1] + rcoeff[3] * tcoeff[2] + rcoeff[4] * tcoeff[3]; samples[w_offs + 0] = s16(std::clamp(s32(left * volume), min, max)); samples[w_offs + 1] = s16(std::clamp(s32(right * volume), min, max));