1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 18:06:00 +02:00

pw-loopback: add page (#6421)

This commit is contained in:
Managor 2021-09-05 17:44:42 +03:00 committed by GitHub
parent 70093834fd
commit 05e131c718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# pw-loopback
> Tool for creating loopback devices in pipewire.
> More information: <https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices>.
- Create a loopback device with the default loopback behavior:
`pw-loopback`
- Create a sink that can be selected in applications that forwards the data to another sink:
`pw-loopback -m '{{[FL FR]}}' --capture-props='{{media.class=Audio/Sink node.name=my-sink}}'`
- Create a sink that can be selected in applications that swaps the left and right channels to another sink:
`pw-loopback --capture-props='{{media.class=Audio/Sink node.name=my-sink audio.position=[FL FR]}}' --playback-props='{{audio.position=[FR FL]}}'`
- Create a source that can be selected in applications that swaps the left and right channels from another source:
`pw-loopback --capture-props='{{audio.position=[FR FL]}}' --playback-props='{{media.class=Audio/Source node.name=my-source audio.position=[FL FR]}}'`