From 9c758d948ff0058add62cc5b7150209c190345e6 Mon Sep 17 00:00:00 2001 From: Josh Jeppson Date: Thu, 14 Nov 2024 16:21:39 -0700 Subject: [PATCH] fixed bug --- src/main.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main.rs b/src/main.rs index fc142be..2e7a673 100644 --- a/src/main.rs +++ b/src/main.rs @@ -151,12 +151,6 @@ impl FslcMix { self.master.last = output[output.len() - 1]; } - - -// } - -// impl eframe::App for FslcMix { - fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { //egui::Window::new("Mixer (FSLCMix)") // .default_pos([100.0, 100.0]) @@ -216,8 +210,8 @@ impl MixChannel { self.max = out_sample; } output[i] += out_sample; + self.last = out_sample; } - self.last = output[output.len() - 1]; } fn ui(&mut self, ui : &mut egui::Ui) {