From d5be10667f43d5dc3005009e24154a723499f48a Mon Sep 17 00:00:00 2001 From: martina <martina@freirad.at> Date: Thu, 8 Feb 2024 10:58:31 +0100 Subject: [PATCH] Docs: add example for connecting input with output port --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f536571..cf12995 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ make run Now connect your audio device(s) with engine-core. There are two ways to achieve this: -- use a UI like [qpwgraph](https://gitlab.freedesktop.org/rncbc/qpwgraph), simply draw connections between the desired devices +- use an UI like [qpwgraph](https://gitlab.freedesktop.org/rncbc/qpwgraph), simply draw connections between the desired devices - use the PipeWire cli tool `pw-link` ```bash @@ -170,8 +170,10 @@ Now connect your audio device(s) with engine-core. There are two ways to achieve pw-link -i # List the output ports pw-link -o -# A example for connecting a output port with a input port +# An example for connecting an output port with an input port pw-link "lineout_0:out_1" "alsa_output.usb-BEHRINGER_UMC202HD_192k_12345678-00.stereo-fallback:playback_FR" +# An example for connecting an input port with an output port +pw-link "alsa_input.usb-Yamaha_Corporation_Yamaha_AG06MK2-00.pro-input-0:capture_AUX0" "in_line_0:in_0" ``` Voilá, you should hear some music! -- GitLab