Forrest logo
back to the pw-link tool

pw-link:tldr:32ce5

pw-link: Disconnect two ports.
$ pw-link --disconnect ${output_port_name} ${input_port_name}
try on your machine

This command is used to disconnect two audio or MIDI ports in the software environment. Here is a breakdown of the command components: - pw-link: This is the command itself, indicating that you want to create a link (connection) between two ports. - --disconnect: This option specifies that you want to disconnect the ports rather than create a new connection. - ${output_port_name}: This is a placeholder variable that needs to be replaced with the actual name of the output port that you want to disconnect. - ${input_port_name}: Similar to the previous variable, you need to replace this placeholder with the name of the input port you want to disconnect. By replacing the placeholder variables with the appropriate port names, running this command will remove the connection between the specified output and input ports.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pw-link tool