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/AlsaDriver.hpp | |
parent | 201a23cf05fca67702f5d1bbc214bcfd6cc442b4 (diff) | |
download | patchage-800672506958b8324bec087643a5830bc156ed72.tar.gz patchage-800672506958b8324bec087643a5830bc156ed72.tar.bz2 patchage-800672506958b8324bec087643a5830bc156ed72.zip |
Avoid copying port IDs
Diffstat (limited to 'src/AlsaDriver.hpp')
-rw-r--r-- | src/AlsaDriver.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp index 1c57c02..0dd2008 100644 --- a/src/AlsaDriver.hpp +++ b/src/AlsaDriver.hpp @@ -47,8 +47,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; private: bool create_refresh_port(); |