Feat: lissajous

This commit is contained in:
2026-02-23 22:06:09 +01:00
parent 502f7afe8f
commit 8b745a77a6
17 changed files with 241 additions and 49 deletions

View File

@@ -307,6 +307,7 @@ impl CagireDesktop {
self.app.metrics.schedule_depth =
self.metrics.schedule_depth.load(Ordering::Relaxed) as usize;
self.app.metrics.scope = self.scope_buffer.read();
self.app.metrics.scope_right = self.scope_buffer.read_right();
(self.app.metrics.peak_left, self.app.metrics.peak_right) = self.scope_buffer.peaks();
self.app.metrics.spectrum = self.spectrum_buffer.read();
self.app.metrics.nudge_ms = self.nudge_us.load(Ordering::Relaxed) as f64 / 1000.0;