From 64529cefa53e764b161cc0f96492ff89d28e5759 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 13 Nov 2023 22:03:23 +0100 Subject: [PATCH] cellRec: use constant for block samples --- 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 ebdeffb49f..879003807e 100644 --- a/rpcs3/Emu/Cell/Modules/cellRec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellRec.cpp @@ -610,7 +610,7 @@ void rec_info::start_video_provider() if (use_external_audio && audio_input_buffer) { // 2-channel interleaved (left-right), 256 samples, float - std::array audio_data{}; + std::array audio_data{}; std::memcpy(audio_data.data(), audio_input_buffer.get_ptr(), audio_data.size() * sizeof(f32)); // TODO: mix audio with param.audio_input_mix_vol