diff options
author | David Robillard <d@drobilla.net> | 2020-11-28 22:45:11 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-28 22:49:10 +0100 |
commit | 800672506958b8324bec087643a5830bc156ed72 (patch) | |
tree | c56e716e2cdbf11dea59a609504f8f0c4c5b9e1a /src/JackDbusDriver.hpp | |
parent | 201a23cf05fca67702f5d1bbc214bcfd6cc442b4 (diff) | |
download | patchage-800672506958b8324bec087643a5830bc156ed72.tar.gz patchage-800672506958b8324bec087643a5830bc156ed72.tar.bz2 patchage-800672506958b8324bec087643a5830bc156ed72.zip |
Avoid copying port IDs
Diffstat (limited to 'src/JackDbusDriver.hpp')
-rw-r--r-- | src/JackDbusDriver.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp index 9727fd6..99bd791 100644 --- a/src/JackDbusDriver.hpp +++ b/src/JackDbusDriver.hpp @@ -48,8 +48,9 @@ public: void refresh(const EventSink& sink) override; - bool connect(PortID tail_id, PortID head_id) override; - bool disconnect(PortID tail_id, PortID head_id) override; + bool connect(const PortID& tail_id, const PortID& head_id) override; + + bool disconnect(const PortID& tail_id, const PortID& head_id) override; uint32_t get_xruns(); void reset_xruns(); |