tldr/pages/linux/pw-link.md

25 lines
526 B
Markdown
Raw Normal View History

2022-01-30 02:07:37 +00:00
# pw-link
> Manage links between ports in PipeWire.
> More information: <https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices>.
- List all audio output and input ports with their IDs:
2022-01-30 02:07:37 +00:00
`pw-link --output --input --ids`
2022-01-30 02:07:37 +00:00
- Create a link between an output and an input port:
`pw-link {{output_port_name}} {{input_port_name}}`
- Disconnect two ports:
`pw-link --disconnect {{output_port_name}} {{input_port_name}}`
- List all links with their IDs:
`pw-link --links --ids`
2022-01-30 02:07:37 +00:00
- Display help:
`pw-link -h`