From 2e7a3b3bc94f8d68475883c845f31ee42cba115c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 20:19:46 +0100 Subject: Remove use of PatchagePort from Driver connection interface --- src/JackDbusDriver.hpp | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/JackDbusDriver.hpp') diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp index 5b443b0..1ba581c 100644 --- a/src/JackDbusDriver.hpp +++ b/src/JackDbusDriver.hpp @@ -56,9 +56,19 @@ public: void refresh() override; void destroy_all() override; - bool connect(PatchagePort* src, PatchagePort* dst) override; - - bool disconnect(PatchagePort* src, PatchagePort* dst) override; + bool connect(PortID tail_id, + const std::string& tail_client_name, + const std::string& tail_port_name, + PortID head_id, + const std::string& head_client_name, + const std::string& head_port_name) override; + + bool disconnect(PortID tail_id, + const std::string& tail_client_name, + const std::string& tail_port_name, + PortID head_id, + const std::string& head_client_name, + const std::string& head_port_name) override; uint32_t get_xruns(); void reset_xruns(); -- cgit v1.2.1