From 966def13c57a3b18828ccc1dd56efe28f83dfe0e Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 22 Nov 2023 00:02:08 +0100 Subject: [PATCH] cellRec: fix downmix --- rpcs3/Emu/Cell/Modules/cellRec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellRec.cpp b/rpcs3/Emu/Cell/Modules/cellRec.cpp index c137dfc70e..d5beb5aa39 100644 --- a/rpcs3/Emu/Cell/Modules/cellRec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellRec.cpp @@ -725,7 +725,7 @@ void rec_info::start_video_provider() if (sample.channels > channels) { // Downmix channels - AudioBackend::downmix(CELL_REC_AUDIO_BLOCK_SAMPLES, sample.channels, channels, src, reinterpret_cast(dst_buffer.block.data())); + AudioBackend::downmix(CELL_REC_AUDIO_BLOCK_SAMPLES * sample.channels, sample.channels, channels, src, reinterpret_cast(dst_buffer.block.data())); } else {