cellRec: fix downmix

This commit is contained in:
Megamouse 2023-11-22 00:02:08 +01:00
parent 0899723510
commit 966def13c5

View file

@ -725,7 +725,7 @@ void rec_info::start_video_provider()
if (sample.channels > channels) if (sample.channels > channels)
{ {
// Downmix channels // Downmix channels
AudioBackend::downmix(CELL_REC_AUDIO_BLOCK_SAMPLES, sample.channels, channels, src, reinterpret_cast<f32*>(dst_buffer.block.data())); AudioBackend::downmix(CELL_REC_AUDIO_BLOCK_SAMPLES * sample.channels, sample.channels, channels, src, reinterpret_cast<f32*>(dst_buffer.block.data()));
} }
else else
{ {