hex/src/audio
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax ebba1c2577
Fix #1518: detect a digitally silent meeting microphone (#1528)
* Fix #1518: detect a digitally silent meeting microphone

* Add French, Portuguese, and Russian for the silent microphone strings

* meeting: keep the silent microphone warning live and gated on the call app

A digitally silent microphone stream now warns only while the call app
reports recording from the same input, so a gated or noise-suppressed
microphone that goes quiet between speech no longer reopens or warns.

The warning is kept as a live state that clears when audio returns, even
in a stream reopened after a supervisor restart, and a sticky flag that
records the microphone was silent at some point. The sticky flag is
written as soon as it is raised so a crash keeps it, and the manifest
means "silent during this recording" rather than the last moment.

Reopen claims are atomic, a dropped controller update no longer commits
a live value the UI never saw, a device switch restarts the zero count
without clearing the warning, and the recording capsule shows the
elapsed time beside "Microphone is silent".

The per-chunk decision is a pure policy in meeting/warning.rs with tests
for the shared reopen budget, clearing, gating, and the sticky flag.
error_panel takes a Tone instead of having a duplicate warning_panel.

* meeting: log gated digital silence and align the silence docs

When the microphone delivers 3 s of exact zeros but the call app does not
report recording from the opened input, log the decision once per silence
episode at info level with the device name, device UID, and the UIDs the
call app reports. Nothing else changes.

The feature docs now list each digital silence test under the file that
owns it, and note that a live warning stays until nonzero audio returns
when the call app leaves the input, and that a gated microphone the call
app also uses can still trigger the two reopens and the warning.
2026-11-08 02:29:44 -05:00
..
hex_microphone Extract macos_hal and pipewire_source from audio/hex_microphone.rs 2026-10-31 18:57:51 -07:00
recording_environment Fold audio and recording-environment modules into audio/ 2026-10-31 16:12:40 -07:00
browser_media.rs Fold audio and recording-environment modules into audio/ 2026-10-31 16:12:40 -07:00
call_input.rs Meetings: record the input the call app uses (#1086) (#1091) 2026-11-03 00:14:23 -05:00
fixture.rs Fix #1518: detect a digitally silent meeting microphone (#1528) 2026-11-08 02:29:44 -05:00
hex_microphone.rs Extract macos_hal and pipewire_source from audio/hex_microphone.rs 2026-10-31 18:57:51 -07:00
idle_sleep.rs Fold audio and recording-environment modules into audio/ 2026-10-31 16:12:40 -07:00
input_format.rs windows: go back to cpal first, with the direct wasapi paths as fallback (revert #1279) (#1365) 2026-11-05 03:14:15 -05:00
input_level.rs Fold audio and recording-environment modules into audio/ 2026-10-31 16:12:40 -07:00
instant.rs Extract instant and lid from audio.rs 2026-10-31 18:57:51 -07:00
lid.rs Extract instant and lid from audio.rs 2026-10-31 18:57:51 -07:00
mix_format.rs windows: try iaudioclient3, interface activation and auto-convert wasapi paths (#1270) 2026-11-04 08:49:05 -05:00
output_ducking.rs lower audio faster and drop duck pre-roll (#1482) 2026-11-07 05:11:08 -05:00
recording_environment.rs Fold audio and recording-environment modules into audio/ 2026-10-31 16:12:40 -07:00
transport.rs Fix #1100: automatic microphone fallback selection (#1184) 2026-11-03 14:56:13 -05:00
voice_filter.rs Fold audio and recording-environment modules into audio/ 2026-10-31 16:12:40 -07:00
wasapi_capture.rs windows: go back to cpal first, with the direct wasapi paths as fallback (revert #1279) (#1365) 2026-11-05 03:14:15 -05:00