Add realtime audio device picker (#12850)

## Summary
- add a dedicated /audio picker for realtime microphone and speaker
selection
- persist realtime audio choices and prompt to restart only local audio
when voice is live
- add snapshot coverage for the new picker surfaces

## Validation
- cargo test -p codex-tui
- cargo insta accept
- just fix -p codex-tui
- just fmt
This commit is contained in:
Ahmed Ibrahim authored and GitHub committed 2026-02-26 17:27:44 -08:00
1 parent 8715a6ef84
commit f90e97e414
14 files changed
+582 -52

No files matched your search

@@ -0,0 +1,11 @@
---
source: tui/src/chatwidget/tests.rs
expression: popup
---
Settings
Configure settings for Codex.
› 1. Microphone Current: System default
2. Speaker Current: System default
Press enter to confirm or esc to go back
@@ -0,0 +1,11 @@
---
source: tui/src/chatwidget/tests.rs
expression: popup
---
Settings
Configure settings for Codex.
› 1. Microphone Current: System default
2. Speaker Current: System default
Press enter to confirm or esc to go back
@@ -0,0 +1,18 @@
---
source: tui/src/chatwidget/tests.rs
expression: popup
---
Select Microphone
Saved devices apply to realtime voice only.
1. System default Use your operating system
default device.
› 2. Unavailable: Studio Mic (current) (disabled) Configured device is not
currently available.
(disabled: Reconnect the
device or choose another
one.)
3. Built-in Mic
4. USB Mic
Press enter to confirm or esc to go back