wip: refactor pt.6, fixed tek_api

This commit is contained in:
🪞👃🪞 2024-11-10 14:35:20 +01:00
parent 5df08409e5
commit 869d92110d
29 changed files with 1678 additions and 1679 deletions

View file

@ -31,7 +31,7 @@ impl SequencerCli {
//phrase.write().unwrap().length = length;
//}
}
Ok(SequencerView {
Ok(SequencerApp {
jack: jack.clone(),
focus_cursor: (1, 1),
entered: false,
@ -45,14 +45,3 @@ impl SequencerCli {
Ok(())
}
}
/// JACK process callback for sequencer app
impl Audio for SequencerView {
fn process (&mut self, client: &Client, scope: &ProcessScope) -> Control {
if let Some(ref transport) = self.transport {
transport.write().unwrap().process(client, scope);
}
self.player.process(client, scope);
Control::Continue
}
}