You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jack_port_rename isn't the in the bindings for jack_sys, so its probably relatively new. I probably need to make a cookbook for updated the bindings in a way that supports both dynamic_loadingtrue/false and doesn't break any users.
If you want to load it dynamically at runtime:
This is what happens when dynamic_loading feature is enabled, which is by default.
I have locally changed Port::set_name implementation to use jack_port_rename and... the port was successfully renamed in pw-dump, but jack_lsp, qpwgraph and Carla were still showing the old name. So it looks like renaming ports in PipeWire doesn't work no matter which method is used.
Activity
wmedrano commentedon Mar 5, 2025
New function!
jack_port_renamejack_port_renameisn't the in the bindings forjack_sys, so its probably relatively new. I probably need to make a cookbook for updated the bindings in a way that supports bothdynamic_loadingtrue/falseand doesn't break any users.If you want to load it dynamically at runtime:
dynamic_loadingfeature is enabled, which is by default.jack_syspackage is re-exported asjack::jack_sys.unsafe extern "C" fn(*mut jack_port_t, *const ::libc::c_char) -> ::libc::c_int;Calling Requirements
Port::renameas unsafe.teodly commentedon Mar 19, 2025
I have locally changed Port::set_name implementation to use jack_port_rename and... the port was successfully renamed in
pw-dump, but jack_lsp, qpwgraph and Carla were still showing the old name. So it looks like renaming ports in PipeWire doesn't work no matter which method is used.