nice (and working) port connect api

This commit is contained in:
🪞👃🪞 2024-07-05 00:49:24 +03:00
parent f928b026ed
commit 3ed9ebddd4
7 changed files with 209 additions and 190 deletions

View file

@ -44,7 +44,7 @@ impl super::Plugin {
pub fn lv2 (name: &str, path: &str) -> Usually<JackDevice> {
let plugin = LV2Plugin::new(path)?;
Jack::new(name)?
.ports_from_lv2(&plugin.plugin)?
.ports_from_lv2(&plugin.plugin)
.run(|ports|Box::new(Self {
name: name.into(),
path: Some(String::from(path)),