Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pipewire_python/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ def _join_arguments(self, other: "Port", message: str) -> List[str]:
if other.port_type == PortType.INPUT:
raise InvalidLink(message.format("input"))
# Valid -- Append the Output (other) First
args.append(":".join((other.device, other.name)))
args.append(":".join((self.device, self.name)))
args.append(str(other.id))
args.append(str(self.id))
else:
if other.port_type == PortType.OUTPUT:
raise InvalidLink(message.format("output"))
# Valid -- Append the Output (self) First
args.append(":".join((self.device, self.name)))
args.append(":".join((other.device, other.name)))
args.append(str(self.id))
args.append(str(other.id))
return args

def connect(self, other: "Port") -> None:
Expand Down