From a0d3d25ad36ec4b014744e49598e2856fabad055 Mon Sep 17 00:00:00 2001 From: Jonas Berlin Date: Sun, 13 Aug 2023 19:20:14 +0300 Subject: [PATCH] Uncomment jack_set_port_rename_callback() since it seems to work Comment suggested "doesn't compile for testing since it is a weak export" but I was able to compile and run tests just fine. I have Linux / Devuan with jack2 (not pipewire). --- src/client/callbacks.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/callbacks.rs b/src/client/callbacks.rs index 0050556f6..f5c3b4eba 100644 --- a/src/client/callbacks.rs +++ b/src/client/callbacks.rs @@ -343,7 +343,6 @@ where /// # TODO /// /// * Handled failed registrations - /// * Fix `jack_set_port_rename_callback` /// /// # Unsafe /// @@ -367,8 +366,7 @@ where data_ptr, ); j::jack_set_port_registration_callback(client, Some(port_registration::), data_ptr); - // doesn't compile for testing since it is a weak export - // j::jack_set_port_rename_callback(client, Some(port_rename::), data_ptr); j::jack_set_port_connect_callback(client, Some(port_connect::), data_ptr); j::jack_set_graph_order_callback(client, Some(graph_order::), data_ptr); j::jack_set_xrun_callback(client, Some(xrun::), data_ptr);