From b503dd94df5657a7616450f52c4ab4842fe15b68 Mon Sep 17 00:00:00 2001 From: Eladash Date: Mon, 5 Jun 2023 13:25:17 +0300 Subject: [PATCH] cellAudio: Improve notification of multiple queues --- rpcs3/Emu/Cell/Modules/cellAudio.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellAudio.cpp b/rpcs3/Emu/Cell/Modules/cellAudio.cpp index f455fb58b9e9..a65d506c2191 100644 --- a/rpcs3/Emu/Cell/Modules/cellAudio.cpp +++ b/rpcs3/Emu/Cell/Modules/cellAudio.cpp @@ -613,9 +613,10 @@ void cell_audio_thread::advance(u64 timestamp) lock.unlock(); + lv2_obj::notify_all_t notify; + for (u32 i = 0; i < queue_count; i++) { - lv2_obj::notify_all_t notify; queues[i]->send(event_sources[i], CELL_AUDIO_EVENT_MIX, 0, event_data3[i]); } }