diff options
author | David Robillard <d@drobilla.net> | 2007-07-25 01:06:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-25 01:06:22 +0000 |
commit | 5837be3b45c83bd5743735de8cf451c5bdf3541d (patch) | |
tree | 3a0331f2a5391726efbb7b6362004a06050f50f1 /src/PatchageEvent.cpp | |
parent | 35b1c7c0683a72978f646c883f411e1eabd595ae (diff) | |
download | patchage-5837be3b45c83bd5743735de8cf451c5bdf3541d.tar.gz patchage-5837be3b45c83bd5743735de8cf451c5bdf3541d.tar.bz2 patchage-5837be3b45c83bd5743735de8cf451c5bdf3541d.zip |
Avoid some canvas text measuring overhead in Patchage (module resizing).
Fix duplex Alsa Sequencer ports (fix ticket 12).
git-svn-id: http://svn.drobilla.net/lad/patchage@617 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r-- | src/PatchageEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index a6b237f..e2849b7 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -32,7 +32,7 @@ PatchageEvent::find_port(const Patchage* patchage, const PortRef& ref) #ifdef HAVE_ALSA if (ref.type == PortRef::ALSA_ADDR) { - return patchage->canvas()->find_port(&ref.id.alsa_addr); + return patchage->canvas()->find_port(ref.id.alsa_addr, ref.is_input); } else #endif { |