From 044e879bd17b15d0717719b74b9e678ec8306f63 Mon Sep 17 00:00:00 2001 From: Weird Constructor Date: Tue, 18 May 2021 19:08:40 +0200 Subject: [PATCH] removed the oversample stuff from hexoSynth --- examples/jack_demo_node_api.rs | 13 ------------- 1 file changed, 13 deletions(-) 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; }