diff --git a/examples/jack_demo_node_api.rs b/examples/jack_demo_node_api.rs index 0e415d7..d487f3b 100644 --- a/examples/jack_demo_node_api.rs +++ b/examples/jack_demo_node_api.rs @@ -264,13 +264,6 @@ fn start_backend(node_exec: NodeExecutor, mut frontend_loop: F) { let ne = Arc::new(Mutex::new(node_exec)); let ne2 = ne.clone(); - let oversample_simulation = - if let Some(arg) = std::env::args().skip(1).next() { - arg == "4x" - } else { - false - }; - let mut first = true; let process_callback = move |client: &jack::Client, ps: &jack::ProcessScope| -> jack::Control { let out_a_p = out_a.as_mut_slice(ps); @@ -334,12 +327,6 @@ fn start_backend(node_exec: NodeExecutor, mut frontend_loop: F) { node_exec.process(&mut context); - if oversample_simulation { - node_exec.process(&mut context); - node_exec.process(&mut context); - node_exec.process(&mut context); - } - offs += cur_nframes; }