mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-11 14:16:42 +01:00
nice (and working) port connect api
This commit is contained in:
parent
f928b026ed
commit
3ed9ebddd4
7 changed files with 209 additions and 190 deletions
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue