Closed Boscop closed 3 years ago
fixes https://github.com/RustAudio/vst-rs/issues/153 by implementing Plugin::new for PluginInstance by using unreachable!(). It's safe because it's never called anyway. (Plugin::new is only called on the client side and PluginInstance is only used on the host side): https://github.com/Boscop/rust-vst/blob/0da6e719a26ba67d8302caf26eda1539ee221e81/src/host.rs#L570
Plugin::new
PluginInstance
unreachable!()
@askeksa Thanks for the review. I applied the suggested changes in the new commit that I just pushed.
@askeksa Everything ok now? Can I merge?
Yes, looks good.
fixes https://github.com/RustAudio/vst-rs/issues/153 by implementing
Plugin::new
forPluginInstance
by usingunreachable!()
. It's safe because it's never called anyway. (Plugin::new
is only called on the client side andPluginInstance
is only used on the host side): https://github.com/Boscop/rust-vst/blob/0da6e719a26ba67d8302caf26eda1539ee221e81/src/host.rs#L570