1
0
Fork 0

Reset last processing status for CLAP on start

Just like we're doing in the VST3 wrapper.
This commit is contained in:
Robbert van der Helm 2022-04-26 14:10:00 +02:00
parent 582ab50e58
commit 4ac0c40812

View file

@ -1509,6 +1509,8 @@ impl<P: ClapPlugin> Wrapper<P> {
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