restruct: 30e

This commit is contained in:
i do not exist 2026-06-24 10:18:45 +03:00
parent 8b6ab2fd08
commit c737c7d839
13 changed files with 771 additions and 747 deletions

View file

@ -87,11 +87,10 @@ pub(crate) use tengri::{
/// Command-line entrypoint.
#[cfg(feature = "cli")]
pub fn main () -> Usually<()> {
Config::watch(|config|{
Exit::run(|exit|{
Jack::new_run("tek", |jack|{
App::new_shared_run(&exit, &jack, Arrangement::new(
Jack::new_run("tek", move|jack|{
Ok(App::new_shared_run(&exit, &jack, Arrangement::new(
&jack,
None,
Clock::new(&jack, Some(51.))?,
@ -99,13 +98,12 @@ pub fn main () -> Usually<()> {
vec![],
vec![],
vec![],
), config, ":menu")
), config, ":menu")?.0)
// TODO: Sync I/O timings with main clock, so that things
// "accidentally" fall on the beat in overload conditions.
})
})
})?;
Ok(())
}