mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
add symphony and dasp for sample preview
This commit is contained in:
parent
ced391d104
commit
d61f2e3c20
5 changed files with 517 additions and 24 deletions
|
|
@ -108,7 +108,9 @@ impl App {
|
|||
.collect();
|
||||
Ok(self)
|
||||
}
|
||||
pub fn activate (mut self, init: Option<impl FnOnce(&Arc<RwLock<Self>>)->Usually<()>>) -> Usually<Arc<RwLock<Self>>> {
|
||||
pub fn activate (
|
||||
mut self, init: Option<impl FnOnce(&Arc<RwLock<Self>>)->Usually<()>>
|
||||
) -> Usually<Arc<RwLock<Self>>> {
|
||||
let jack = self.jack.take().expect("no jack client");
|
||||
let app = Arc::new(RwLock::new(self));
|
||||
app.write().unwrap().jack = Some(jack.activate(&app.clone(), |state, client, scope|{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue