|
|
@@ -25,17 +25,9 @@ def replace_if_present(path, original, replacement):
|
|
|
|
|
|
def apply(source_root):
|
|
|
app = Path(source_root)
|
|
|
-<<<<<<< Updated upstream
|
|
|
- helper_source = Path(__file__).with_name("mod_ui_pipewire.py")
|
|
|
- helper_target = app / "mod" / "rigforge_pipewire.py"
|
|
|
- helper_target.write_bytes(helper_source.read_bytes())
|
|
|
-
|
|
|
- replace_once(
|
|
|
-=======
|
|
|
helper = Path(__file__).with_name("mod_ui_pipewire.py")
|
|
|
(app / "mod" / "rigforge_pipewire.py").write_bytes(helper.read_bytes())
|
|
|
replace_if_present(
|
|
|
->>>>>>> Stashed changes
|
|
|
app / "mod" / "host.py",
|
|
|
"from mod import (\n",
|
|
|
"from mod.rigforge_pipewire import boundary_connection, connect_link, disconnect_link\n"
|
|
|
@@ -176,8 +168,8 @@ def apply(source_root):
|
|
|
return boundary_connection(
|
|
|
port_from,
|
|
|
port_to,
|
|
|
- self.rigforge_capture_port,
|
|
|
- self.rigforge_playback_port,
|
|
|
+ self.rigforge_capture_ports,
|
|
|
+ self.rigforge_playback_ports,
|
|
|
self._fix_host_connection_port,
|
|
|
)
|
|
|
|