summaryrefslogtreecommitdiff
path: root/gtk2_ardour/io_selector.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-11-27 21:32:29 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-11-27 21:32:29 +0000
commit5a47cb37b88eab299ded9d27fc63bbe41bdbefe5 (patch)
treea0bb7a79ec19e7e870f8afc77a4b58f3dd56c01a /gtk2_ardour/io_selector.cc
parent7cbcf258ccac270d769ade00bc39edef518d679d (diff)
rest of process lock removal, plus no GUIs for internal returns
git-svn-id: svn://localhost/ardour2/branches/3.0@8112 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/io_selector.cc')
-rw-r--r--gtk2_ardour/io_selector.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/io_selector.cc b/gtk2_ardour/io_selector.cc
index d440e1397b..3217e2e81f 100644
--- a/gtk2_ardour/io_selector.cc
+++ b/gtk2_ardour/io_selector.cc
@@ -136,12 +136,10 @@ IOSelector::set_state (ARDOUR::BundleChannel c[2], bool s)
ARDOUR::Bundle::PortList const & our_ports = c[_ours].bundle->channel_ports (c[_ours].channel);
ARDOUR::Bundle::PortList const & other_ports = c[_other].bundle->channel_ports (c[_other].channel);
- Glib::Mutex::Lock lm (AudioEngine::instance()->process_lock());
-
for (ARDOUR::Bundle::PortList::const_iterator i = our_ports.begin(); i != our_ports.end(); ++i) {
for (ARDOUR::Bundle::PortList::const_iterator j = other_ports.begin(); j != other_ports.end(); ++j) {
- Port* f = _session->engine().get_port_by_name_locked (*i);
+ Port* f = _session->engine().get_port_by_name (*i);
if (!f) {
return;
}