wip: port: make device

This commit is contained in:
🪞👃🪞 2025-05-21 00:07:35 +03:00
parent 447638ee71
commit cb7e4f7a95
31 changed files with 602 additions and 865 deletions

View file

@ -4,7 +4,7 @@ use crate::*;
#[derive(Debug)]
pub struct Lv2 {
/// JACK client handle (needs to not be dropped for standalone mode to work).
pub jack: Jack,
pub jack: Jack<'static>,
pub name: Arc<str>,
pub path: Option<Arc<str>>,
pub selected: usize,
@ -26,7 +26,7 @@ pub struct Lv2 {
impl Lv2 {
pub fn new (
jack: &Jack,
jack: &Jack<'static>,
name: &str,
uri: &str,
) -> Usually<Self> {