From 4ac0c40812651b2a35ce68b79d3434b8efeb05a2 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 26 Apr 2022 14:10:00 +0200 Subject: [PATCH] Reset last processing status for CLAP on start Just like we're doing in the VST3 wrapper. --- src/wrapper/clap/wrapper.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wrapper/clap/wrapper.rs b/src/wrapper/clap/wrapper.rs index d1d0b4dc..3ad7539d 100644 --- a/src/wrapper/clap/wrapper.rs +++ b/src/wrapper/clap/wrapper.rs @@ -1509,6 +1509,8 @@ impl Wrapper

{ check_null_ptr!(false, plugin); let wrapper = &*(plugin as *const Self); + // Always reset the processing status when the plugin gets activated or deactivated + wrapper.last_process_status.store(ProcessStatus::Normal); wrapper.is_processing.store(true, Ordering::SeqCst); true