hex/src/audio
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 64234cc2e5
windows: keep opening the microphone when its default format can't be read (#1849)
* windows: keep opening the microphone when its default format can't be read (#1845)

A device that reports no default format was abandoned before the direct
WASAPI paths and the formats it lists were tried, which is the one failure
the Windows default-input handle hits and a named device does not: cpal
activates it through ActivateAudioInterfaceAsync rather than the endpoint.

Try those paths instead of returning, build the alternative formats from
the ranges alone (48 kHz, else 44.1 kHz, else the range's top) when there
is no default to match, and keep the read error, with the driver's reason,
for the message. The open thread, startup, and saved-microphone retries
render causes with {error:#}, and a released microphone that will not open
is logged where it used to fail silently.

* windows: name the ordered fallbacks for a microphone with no default format (#1845)

Review fixes: the Windows tree row lists Hex's own WASAPI paths before the
formats the device lists, matching the code; the module doc says a device
with no readable default format still tries them; and listing a device's
formats logs its cause like every other path.
2026-11-14 23:49:07 -05:00
..
hex_microphone fix(linux): pass pw-cat --raw only where pipewire knows it (#1803) 2026-11-13 16:30:28 -05: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 audio: keep overload reporting off CoreAudio's real-time thread (#1643) 2026-11-10 13:17:35 -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: keep opening the microphone when its default format can't be read (#1849) 2026-11-14 23:49:07 -05:00
input_level.rs fix: ignore microphone dc offset in level meters (#1560) 2026-11-08 17:41:24 -05: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
linger.rs labs: keep the microphone open after dictating (#1701) 2026-11-11 18:12:08 -05: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
output_route.rs meetings: capture every linux output, not just the default (#1804) 2026-11-13 16:44:57 -05:00
overloads.rs audio: keep overload reporting off CoreAudio's real-time thread (#1643) 2026-11-10 13:17:35 -05:00
recording_environment.rs labs: apply While dictating only on speakers (#1610) 2026-11-09 20:24:42 -05:00
recovery.rs fix: renegotiate the mic's sample rate after digital silence (#1575) (#1693) 2026-11-11 09:30:51 -05: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