mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-07-17 15:56:57 +02:00
restruct: 40e
This commit is contained in:
parent
027f69cd50
commit
8b6ab2fd08
8 changed files with 331 additions and 290 deletions
|
|
@ -118,13 +118,13 @@ impl Action {
|
|||
// Run the [Tui] and [Jack] threads with the [App] state.
|
||||
Tui::new(Box::new(std::io::stdout()))?.run(true, &jack.run(move|jack|{
|
||||
// Between jack init and app's first cycle:
|
||||
jack.sync_lead(sync_lead, |mut state|{
|
||||
jack.sync_lead(*sync_lead, |mut state|{
|
||||
let clock = app.clock();
|
||||
clock.playhead.update_from_sample(state.position.frame() as f64);
|
||||
state.position.bbt = Some(clock.bbt());
|
||||
state.position
|
||||
})?;
|
||||
jack.sync_follow(sync_follow)?;
|
||||
jack.sync_follow(*sync_follow)?;
|
||||
// FIXME: They don't work properly.
|
||||
Ok(app)
|
||||
})?)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue