Made the min/max monitors 160 samples wide and capture 3 seconds of audio now.

This commit is contained in:
Weird Constructor 2021-07-26 21:21:20 +02:00
parent 97d01f56ea
commit 9a0b135e55

View file

@ -18,10 +18,10 @@ pub const MON_SIG_CNT : usize = 6;
const IMAGINARY_MAX_SAMPLE_RATE : usize = 48000; const IMAGINARY_MAX_SAMPLE_RATE : usize = 48000;
/// The number of minmax samples to hold. /// 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 /// 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 /// The sleep time of the thread that receives monitoring data
/// from the backend/audio thread. /// from the backend/audio thread.