diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 20:19:46 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:52:29 +0100 |
commit | 2e7a3b3bc94f8d68475883c845f31ee42cba115c (patch) | |
tree | 7df6bfbc81e354bd73c13e1f48408c4a5691e485 /src/JackDbusDriver.hpp | |
parent | 10a9f00294c3a33477dee21980f91d1417b6ef21 (diff) | |
download | patchage-2e7a3b3bc94f8d68475883c845f31ee42cba115c.tar.gz patchage-2e7a3b3bc94f8d68475883c845f31ee42cba115c.tar.bz2 patchage-2e7a3b3bc94f8d68475883c845f31ee42cba115c.zip |
Remove use of PatchagePort from Driver connection interface
Diffstat (limited to 'src/JackDbusDriver.hpp')
-rw-r--r-- | src/JackDbusDriver.hpp | 16 |
1 files changed, 13 insertions, 3 deletions
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(); |