Skip to content

Dedupe sound menu output and input entries - #10071

Open
fresh3nough wants to merge 1 commit into
omacom:quattrofrom
fresh3nough:fix/9887-audio-dedup
Open

Dedupe sound menu output and input entries#10071
fresh3nough wants to merge 1 commit into
omacom:quattrofrom
fresh3nough:fix/9887-audio-dedup

Conversation

@fresh3nough

@fresh3nough fresh3nough commented Sep 3, 2026

Copy link
Copy Markdown

Summary

  • Collapse PipeWire sink/source nodes that share a node.name or the same friendly device label before the sound menu Repeaters render, so one physical device no longer appears twice.
  • Prefer the current default sink/source when a later catalog entry matches, and omit sink-monitor capture nodes from the input candidate list.
  • Add test/shell.d/audio-dedup-test.sh covering Model dedupe behavior and the Panel contract that rawAudioSinks / rawAudioSources return through dedupeAudioNodes.

Fixes #9887

Test plan

  • bash test/shell.d/audio-dedup-test.sh
  • bash test/shell.d/audio-test.sh
  • Open the sound menu and confirm output/input rows list each device once
  • Switch default output/input and confirm the selected row stays unique and correct

Collapse nodes that share a node.name or friendly label so output and
input rows no longer list the same hardware twice. Also drop sink
monitor capture nodes from the input candidate list.

Fixes omacom#9887

Signed-off-by: fresh3nough <anonwurcod@proton.me>
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.

Sound menu showing duplicate entries for output and input

1 participant