mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-11 22:26:44 +01:00
clone ports as unowned and pass outwards
This commit is contained in:
parent
394355331d
commit
ddaf870271
9 changed files with 123 additions and 112 deletions
|
|
@ -41,7 +41,7 @@ impl LV2Plugin {
|
|||
}
|
||||
|
||||
impl super::Plugin {
|
||||
pub fn lv2 (name: &str, path: &str) -> Usually<Arc<Mutex<Box<dyn Device>>>> {
|
||||
pub fn lv2 (name: &str, path: &str) -> Usually<JackDevice> {
|
||||
let plugin = LV2Plugin::new(path)?;
|
||||
Jack::new(name)?
|
||||
.ports_from_lv2(&plugin.plugin)?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue