mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
fix: unused result warnings
This commit is contained in:
parent
805b2ee139
commit
e1a5910db3
1 changed files with 4 additions and 4 deletions
|
|
@ -148,16 +148,16 @@ impl Cli {
|
||||||
if let &Mode::Arranger { scenes, tracks, track_width, .. } = mode {
|
if let &Mode::Arranger { scenes, tracks, track_width, .. } = mode {
|
||||||
app.arranger = Default::default();
|
app.arranger = Default::default();
|
||||||
app.selected = Selection::Clip(1, 1);
|
app.selected = Selection::Clip(1, 1);
|
||||||
app.scenes_add(scenes);
|
app.scenes_add(scenes)?;
|
||||||
app.tracks_add(tracks, Some(track_width), &[], &[]);
|
app.tracks_add(tracks, Some(track_width), &[], &[])?;
|
||||||
}
|
}
|
||||||
jack.sync_lead(self.sync_lead, |mut state|{
|
jack.sync_lead(self.sync_lead, |mut state|{
|
||||||
let clock = app.clock();
|
let clock = app.clock();
|
||||||
clock.playhead.update_from_sample(state.position.frame() as f64);
|
clock.playhead.update_from_sample(state.position.frame() as f64);
|
||||||
state.position.bbt = Some(clock.bbt());
|
state.position.bbt = Some(clock.bbt());
|
||||||
state.position
|
state.position
|
||||||
});
|
})?;
|
||||||
jack.sync_follow(self.sync_follow);
|
jack.sync_follow(self.sync_follow)?;
|
||||||
Ok(app)
|
Ok(app)
|
||||||
})?)
|
})?)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue