mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why Mixing every input on a multichannel audio device can include playback channels in microphone capture. Selecting only microphone inputs keeps those playback channels out of the captured audio. ## What changed - Add `audio.microphone_channel` with one-based channel numbers, accepting a single value or an array such as `[1, 2]`. Leaving it unset preserves mixing of all inputs. - Add an input-channel picker for the selected microphone when it has at least three channels. Require a nonempty selection and save it locally for the next voice conversation. - Average only the selected channels, deduplicate selections, and reject empty or unavailable selections without falling back to other inputs. - Clear saved channel selections when saving an input device and report configuration overrides that prevent the reset from taking effect. ## Testing Add regression coverage for excluding playback channels, sample conversion, subset mixing, invalid selections, configuration loading, local persistence and overrides, and picker selection and cancellation. Update UI snapshots and verify channel selections are passed to the voice helper. GitOrigin-RevId: 99960dcfa7b10cf38270768a90bb84a4be95a406