autoconnect newly added sampler

This commit is contained in:
🪞👃🪞 2025-05-04 16:51:38 +03:00
parent ebd0f18c9c
commit 16e9405b1f
2 changed files with 27 additions and 19 deletions

View file

@ -112,6 +112,7 @@ pub trait JackPortAutoconnect: JackPort + for<'a>JackPortConnect<&'a Port<Unowne
}
fn connect_to_matching (&self) -> Usually<()> {
for connect in self.conn().iter() {
//panic!("{connect:?}");
let status = match &connect.name {
Exact(name) => self.connect_exact(name),
RegExp(re) => self.connect_regexp(re, connect.scope),