mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why At 48 kHz, the two-period ALSA capture ring can overrun on PipeWire graphs with 4,096- or 4,800-frame cycles, dropping microphone samples. ## What changed Raise the Linux capture and playback target from 50 ms to 80 ms at 48 kHz, within device and queue limits. Give playback room for two periods plus block-boundary headroom, and allow up to 160 ms for a blocked write. ## Testing Extend the PipeWire cycle simulation to check for capture overruns across cycle-size changes and verify that playback can render a two-period burst from 20 ms packets. GitOrigin-RevId: ee5e70497bee6f8a00dd3f2f2ab5827bafc36b65