summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-29 17:52:32 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-29 17:52:32 +0000
commit0dd2fb557c95f15672345e6368a478d25898a4d1 (patch)
tree8022453f0d85b0719018f9f1d85523fa59669035 /libs/ardour/io.cc
parentf31e5b5d714752484f3e5ea2a1228fdef0527154 (diff)
Update mixer strip input/output button labels from the general JACK port connection / disconnection callback so that all changes are noticed. Fixes #3638.
git-svn-id: svn://localhost/ardour2/branches/3.0@8368 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r--libs/ardour/io.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index ced4508d7a..17a1da231b 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -162,7 +162,7 @@ IO::disconnect (Port* our_port, string other_port, void* src)
if (other_port.length() == 0 || our_port == 0) {
return 0;
}
-
+
{
Glib::Mutex::Lock lm (io_lock);
@@ -1612,3 +1612,10 @@ IO::physically_connected () const
return false;
}
+
+bool
+IO::has_port (Port* p) const
+{
+ Glib::Mutex::Lock lm (io_lock);
+ return _ports.contains (p);
+}