From 9a0b135e551b3b8586604aa6515b8d8325a56423 Mon Sep 17 00:00:00 2001 From: Weird Constructor Date: Mon, 26 Jul 2021 21:21:20 +0200 Subject: [PATCH] Made the min/max monitors 160 samples wide and capture 3 seconds of audio now. --- src/monitor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/monitor.rs b/src/monitor.rs index b20b6f0..6e13c64 100644 --- a/src/monitor.rs +++ b/src/monitor.rs @@ -18,10 +18,10 @@ pub const MON_SIG_CNT : usize = 6; const IMAGINARY_MAX_SAMPLE_RATE : usize = 48000; /// The number of minmax samples to hold. -pub const MONITOR_MINMAX_SAMPLES : usize = 128; +pub const MONITOR_MINMAX_SAMPLES : usize = 160; /// The length in seconds of the MONITOR_MINMAX_SAMPLES -const MONITOR_MINMAX_LEN_S : usize = 2; +const MONITOR_MINMAX_LEN_S : usize = 3; /// The sleep time of the thread that receives monitoring data /// from the backend/audio thread.