summaryrefslogtreecommitdiffstats
path: root/src/JackDbusDriver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-28 12:02:55 +0100
committerDavid Robillard <d@drobilla.net>2020-11-28 12:45:57 +0100
commit0ae4276ac187a9a361950f26bd67eb2d54636aff (patch)
treecc46c2ff5df75d426de5e80b891042ae1ebb7bf3 /src/JackDbusDriver.hpp
parent4ac8e622bb4ef5841435fc0815efb6bb756f76da (diff)
downloadpatchage-0ae4276ac187a9a361950f26bd67eb2d54636aff.tar.gz
patchage-0ae4276ac187a9a361950f26bd67eb2d54636aff.tar.bz2
patchage-0ae4276ac187a9a361950f26bd67eb2d54636aff.zip
Simplify driver connection interface
Diffstat (limited to 'src/JackDbusDriver.hpp')
-rw-r--r--src/JackDbusDriver.hpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp
index 1ba581c..ac1137d 100644
--- a/src/JackDbusDriver.hpp
+++ b/src/JackDbusDriver.hpp
@@ -56,19 +56,8 @@ public:
void refresh() override;
void destroy_all() 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;
+ bool connect(PortID tail_id, PortID head_id) override;
+ bool disconnect(PortID tail_id, PortID head_id) override;
uint32_t get_xruns();
void reset_xruns();