Add todos about potential duplicate reset calls
This commit is contained in:
parent
4779991edf
commit
dedbfebb71
|
@ -2620,6 +2620,9 @@ impl<P: ClapPlugin> Wrapper<P> {
|
||||||
&buffer_config,
|
&buffer_config,
|
||||||
&mut wrapper.make_process_context(Transport::new(buffer_config.sample_rate)),
|
&mut wrapper.make_process_context(Transport::new(buffer_config.sample_rate)),
|
||||||
);
|
);
|
||||||
|
// TODO: This also goes for the VST3 version, but should we call reset here? Won't the
|
||||||
|
// host always restart playback? Check this with a couple of hosts and remove the
|
||||||
|
// duplicate reset if it's not needed.
|
||||||
process_wrapper(|| plugin.reset());
|
process_wrapper(|| plugin.reset());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -298,6 +298,9 @@ impl<P: Vst3Plugin> IComponent for Wrapper<P> {
|
||||||
.inner
|
.inner
|
||||||
.make_process_context(Transport::new(buffer_config.sample_rate)),
|
.make_process_context(Transport::new(buffer_config.sample_rate)),
|
||||||
);
|
);
|
||||||
|
// TODO: This also goes for the CLAP version, but should we call reset here? Won't the
|
||||||
|
// host always restart playback? Check this with a couple of hosts and remove the
|
||||||
|
// duplicate reset if it's not needed.
|
||||||
process_wrapper(|| plugin.reset());
|
process_wrapper(|| plugin.reset());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue