2022-01-30 04:07:37 +02:00
|
|
|
# pw-link
|
|
|
|
|
|
|
|
> Manage links between ports in PipeWire.
|
|
|
|
> More information: <https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices>.
|
|
|
|
|
2023-12-19 20:48:30 -03:00
|
|
|
- List all audio output and input ports with their IDs:
|
2022-01-30 04:07:37 +02:00
|
|
|
|
2025-03-07 13:06:30 +02:00
|
|
|
`pw-link {{[-oiI|--output --input --ids]}}`
|
2022-01-30 04:07:37 +02:00
|
|
|
|
|
|
|
- Create a link between an output and an input port:
|
|
|
|
|
|
|
|
`pw-link {{output_port_name}} {{input_port_name}}`
|
|
|
|
|
|
|
|
- Disconnect two ports:
|
|
|
|
|
2025-03-07 13:06:30 +02:00
|
|
|
`pw-link {{[-d|--disconnect]}} {{output_port_name}} {{input_port_name}}`
|
2022-01-30 04:07:37 +02:00
|
|
|
|
2023-12-19 20:48:30 -03:00
|
|
|
- List all links with their IDs:
|
|
|
|
|
2025-03-07 13:06:30 +02:00
|
|
|
`pw-link {{[-lI|--links --ids]}}`
|
2023-12-19 20:48:30 -03:00
|
|
|
|
2022-01-30 04:07:37 +02:00
|
|
|
- Display help:
|
|
|
|
|
2025-03-07 13:06:30 +02:00
|
|
|
`pw-link {{[-h|--help]}}`
|