mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-10 13:46:42 +01:00
wip: lv2 support?
This commit is contained in:
parent
4b0055a21c
commit
1e395274f6
7 changed files with 153 additions and 10 deletions
11
src/device/plugin/vst2.rs
Normal file
11
src/device/plugin/vst2.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
use crate::prelude::*;
|
||||
use super::*;
|
||||
|
||||
fn set_vst_plugin (host: &Arc<Mutex<Plugin>>, 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(loader.instance()?))
|
||||
}
|
||||
//"file:///nix/store/ij3sz7nqg5l7v2dygdvzy3w6cj62bd6r-helm-0.9.0/lib/lxvst/helm.so"
|
||||
Loading…
Add table
Add a link
Reference in a new issue