mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
draw ports; fix process callback
This commit is contained in:
parent
72ead536be
commit
9e550a73ae
8 changed files with 268 additions and 175 deletions
|
|
@ -12,16 +12,14 @@ pub mod draw;
|
|||
pub mod config;
|
||||
pub mod layout;
|
||||
pub mod time;
|
||||
pub mod port;
|
||||
|
||||
use crate::device::*;
|
||||
use crate::layout::*;
|
||||
use crate::prelude::*;
|
||||
|
||||
fn main () -> Result<(), Box<dyn Error>> {
|
||||
let _cli = cli::Cli::parse();
|
||||
let xdg = microxdg::XdgApp::new("dawdle")?;
|
||||
crate::config::create_dirs(&xdg)?;
|
||||
let transport = Transport::new("Transport")?;
|
||||
let transport = crate::device::Transport::new("Transport")?;
|
||||
let timebase = transport.state.lock().unwrap().timebase();
|
||||
crate::device::run(Chain::new("Chain#0000", vec![
|
||||
Box::new(Sequencer::new("Phrase#000", &timebase)?),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue