mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
fix warnings (not 55 errors)
This commit is contained in:
parent
a50e022ab6
commit
87c5e47b43
8 changed files with 290 additions and 269 deletions
14
src/main.rs
14
src/main.rs
|
|
@ -21,7 +21,15 @@ 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();
|
||||
crate::device::run(Rows::new(true, vec![
|
||||
Box::new(transport),
|
||||
Box::new(Columns::new(true, vec![
|
||||
Box::new(Sequencer::new("Melody#000", &timebase)?),
|
||||
Box::new(Sequencer::new("Melody#001", &timebase)?),
|
||||
Box::new(Sequencer::new("Rhythm#000", &timebase)?),
|
||||
])),
|
||||
//Box::new(Columns::new(false, vec![
|
||||
//Box::new(Chain::new("Chain#00", vec![
|
||||
//Box::new(Sequencer::new("Rhythm#000")?),
|
||||
|
|
@ -33,12 +41,6 @@ fn main () -> Result<(), Box<dyn Error>> {
|
|||
//])?),
|
||||
//])),
|
||||
//Box::new(Mixer::new("Mixer#000")?),
|
||||
Box::new(Transport::new("Transport")?),
|
||||
Box::new(Columns::new(true, vec![
|
||||
Box::new(Sequencer::new("Melody#000")?),
|
||||
Box::new(Sequencer::new("Melody#001")?),
|
||||
Box::new(Sequencer::new("Rhythm#000")?),
|
||||
])),
|
||||
//Box::new(Sequencer::new("Rhythm#000")?),
|
||||
]))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue