mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
refactor: atomic timebase
This commit is contained in:
parent
87c5e47b43
commit
f77c84a99c
5 changed files with 116 additions and 99 deletions
|
|
@ -21,8 +21,8 @@ fn main () -> Result<(), Box<dyn Error>> {
|
|||
let xdg = microxdg::XdgApp::new("dawdle")?;
|
||||
crate::config::create_dirs(&xdg)?;
|
||||
//crate::device::run(Sequencer::new("Rhythm#000")?)
|
||||
const transport = Transport::new("Transport")?;
|
||||
const timebase = transport.timebase.clone();
|
||||
let transport = Transport::new("Transport")?;
|
||||
let timebase = transport.state.lock().unwrap().timebase();
|
||||
crate::device::run(Rows::new(true, vec![
|
||||
Box::new(transport),
|
||||
Box::new(Columns::new(true, vec![
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue