removed the oversample stuff from hexoSynth

This commit is contained in:
Weird Constructor 2021-05-18 19:08:40 +02:00
parent 82976026e0
commit 044e879bd1

View file

@ -264,13 +264,6 @@ fn start_backend<F: FnMut()>(node_exec: NodeExecutor, mut frontend_loop: F) {
let ne = Arc::new(Mutex::new(node_exec)); let ne = Arc::new(Mutex::new(node_exec));
let ne2 = ne.clone(); 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 mut first = true;
let process_callback = move |client: &jack::Client, ps: &jack::ProcessScope| -> jack::Control { let process_callback = move |client: &jack::Client, ps: &jack::ProcessScope| -> jack::Control {
let out_a_p = out_a.as_mut_slice(ps); let out_a_p = out_a.as_mut_slice(ps);
@ -334,12 +327,6 @@ fn start_backend<F: FnMut()>(node_exec: NodeExecutor, mut frontend_loop: F) {
node_exec.process(&mut context); 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; offs += cur_nframes;
} }