pub fn load_plugin_isolated<P: AsRef<Path>>(path: P) -> Result<Plugin>Expand description
Load a plugin with crash protection enabled.
This loads the plugin in a separate process, which prevents plugin crashes from affecting your application. Use this for untested or problematic plugins.
§Arguments
path- Path to the VST3 plugin
§Examples
use vst3_host::simple;
// Load a potentially unstable plugin safely
let mut plugin = simple::load_plugin_isolated("/path/to/sketchy_plugin.vst3")?;