diff --git a/bin/cli_groovebox.rs b/bin/cli_groovebox.rs index e68776c9..dcc85a17 100644 --- a/bin/cli_groovebox.rs +++ b/bin/cli_groovebox.rs @@ -46,12 +46,8 @@ impl GrooveboxCli { if self.sync { jack.read().unwrap().client().register_timebase_callback(false, |state|{ let ::jack::contrib::TimebaseInfo { state, new_pos, nframes, mut position } = state; - println!("\n\r{state:?} {new_pos} {nframes} {position:?}"); + app.clock().playhead.update_from_sample(position.frame() as f64); position.bbt = Some(app.clock().bbt()); - println!("\r{:?}", position.bbt); - if new_pos { - app.clock().playhead.update_from_sample(position.frame() as f64) - } position })? } diff --git a/rust-jack b/rust-jack index cfd2a62e..76f4bef0 160000 --- a/rust-jack +++ b/rust-jack @@ -1 +1 @@ -Subproject commit cfd2a62e959f2a0f5569a129790cfdb316570a7f +Subproject commit 76f4bef07e3f9115e8efba0bc053a9bad7e25a19