removed the oversample stuff from hexoSynth
This commit is contained in:
parent
82976026e0
commit
044e879bd1
1 changed files with 0 additions and 13 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue