molluskandClaude Opus 4.8 ca28c56443 test(audio): regression tests for mic meter + gate drag
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>
2026-06-02 15:50:43 -04:00
2026-06-01 05:08:25 -04:00
S
Description
No description provided
MIT
15 MiB
2026-07-19 19:57:06 +00:00
Languages
Rust 98.8%
Shell 0.4%
Nix 0.4%
Python 0.2%
Inno Setup 0.2%