Skip to content

Show the system default audio device name in pickers - #55

Open
Yannicked wants to merge 2 commits into
mainfrom
feat/system-default-audio-name
Open

Yannicked wants to merge 2 commits into
mainfrom
feat/system-default-audio-name

Conversation

@Yannicked

@Yannicked Yannicked commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

When displaying the system default line in microphone and speaker pickers (or when selected):

  • Query the active system default device name on Linux directly via PulseAudio / PipeWire native protocol over the local UNIX domain socket ($XDG_RUNTIME_DIR/pulse/native), in pure safe Rust with zero subprocess/CLI spawning. On non-Linux (macOS and Windows) or when the sound server is absent, query the default device name via cpal.
  • Format the default entry as System default: <name> (e.g. System default: Jabra Evolve2 65).
  • Keeps using the sound server's default stream when "System default" is chosen, preserving dynamic system routing and avoiding hardware device locking.
  • Added Dutch translations and tests for socket candidate detection and label formatting.

When a picker displays the system default line or when the default is selected, query the active default device name (via PipeWire's wpctl or PulseAudio's pactl on Linux, or cpal on macOS and Windows) so the option reads as 'System default: <name>' (e.g. 'System default: Jabra Evolve2 65'). This gives clear visibility into what device is actually active without needing to pick an explicit ALSA card.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant