wip: device: reenable lv2 support

This commit is contained in:
🪞👃🪞 2025-05-04 18:12:16 +03:00
parent bb325869c2
commit 6286d69824
18 changed files with 1533 additions and 393 deletions

View file

@ -1,14 +0,0 @@
use crate::*;
impl<E: Engine> ::vst::host::Host for Plugin<E> {}
fn set_vst_plugin <E: Engine> (host: &Arc<Mutex<Plugin<E>>>, _path: &str) -> Usually<PluginKind> {
let mut loader = ::vst::host::PluginLoader::load(
&std::path::Path::new("/nix/store/ij3sz7nqg5l7v2dygdvzy3w6cj62bd6r-helm-0.9.0/lib/lxvst/helm.so"),
host.clone()
)?;
Ok(PluginKind::VST2 {
instance: loader.instance()?
})
}