Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 397
    • Issues 397
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWire
  • pipewirepipewire
  • Issues
  • #525

Closed
Open
Created Jan 01, 2021 by saivert@saivertContributor

Non-unique node names in pipewire (audio devices)

$ pw-cli dump short Node|grep unknown
42: Node s="running" i=2/64 n="alsa_output.pci-0000:02:02.0.unknown" p="alsa:pcm:AudioPCI:0:playback"
43: Node s="suspended" o=2/64 n="alsa_input.pci-0000:02:02.0.unknown" p="alsa:pcm:AudioPCI:0:capture"
44: Node s="suspended" i=2/64 n="alsa_output.pci-0000:02:02.0.unknown" p="alsa:pcm:AudioPCI:1:playback"

42 and 44 have identical names.

acp is disabled for device otherwise unknown would be "analog-stereo" (the profile name) and device 44 would be missing as the profile disables it (it is a secondary DAC for the device).

I'm currently using the node name to select output device in my software but this breaks. Is there a better way to do this? I would love to have a single string property that would be guaranteed to be unique.

Assignee
Assign to
Time tracking