ca28c564438646fb1f5cc6587a087c4450789758
Extracts the peak-hold/throttle logic shared by the in-call capture thread and run_mic_monitor into MicLevelMeter, and adds unit coverage: - core: MicLevelMeter reports only after a full window, holds the window peak, resets between windows, and reports zero for silence. - app: GateMeter::x_to_threshold maps edges/midpoint correctly, clamps out-of-bounds drags, and stays finite for a zero-width (pre-layout) bar. 9 new tests, all green; clippy clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Releases
10
Languages
Rust
98.8%
Shell
0.4%
Nix
0.4%
Python
0.2%
Inno Setup
0.2%