summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 20:19:46 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:52:29 +0100
commit2e7a3b3bc94f8d68475883c845f31ee42cba115c (patch)
tree7df6bfbc81e354bd73c13e1f48408c4a5691e485 /src/AlsaDriver.hpp
parent10a9f00294c3a33477dee21980f91d1417b6ef21 (diff)
downloadpatchage-2e7a3b3bc94f8d68475883c845f31ee42cba115c.tar.gz
patchage-2e7a3b3bc94f8d68475883c845f31ee42cba115c.tar.bz2
patchage-2e7a3b3bc94f8d68475883c845f31ee42cba115c.zip
Remove use of PatchagePort from Driver connection interface
Diffstat (limited to 'src/AlsaDriver.hpp')
-rw-r--r--src/AlsaDriver.hpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp
index a953b7b..49acf51 100644
--- a/src/AlsaDriver.hpp
+++ b/src/AlsaDriver.hpp
@@ -59,9 +59,19 @@ public:
PatchagePort*
create_port_view(Patchage* patchage, const PortID& id) override;
- bool connect(PatchagePort* src_port, PatchagePort* dst_port) override;
-
- bool disconnect(PatchagePort* src_port, PatchagePort* dst_port) 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;
void print_addr(snd_seq_addr_t addr);