Skip to main content

CALIBRATION_SAMPLES

Constant CALIBRATION_SAMPLES 

Source
pub const CALIBRATION_SAMPLES: usize = 512;
Expand description

Number of input samples collected during the ambient calibration phase.

At 44 100 Hz this is roughly 11 ms of listening time — long enough to capture a representative noise-floor peak without delaying the measurement significantly.