diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-27 21:32:29 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-27 21:32:29 +0000 |
commit | 5a47cb37b88eab299ded9d27fc63bbe41bdbefe5 (patch) | |
tree | a0bb7a79ec19e7e870f8afc77a4b58f3dd56c01a /gtk2_ardour/global_port_matrix.cc | |
parent | 7cbcf258ccac270d769ade00bc39edef518d679d (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/global_port_matrix.cc')
-rw-r--r-- | gtk2_ardour/global_port_matrix.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc index 0c5ae17264..3aa08bb218 100644 --- a/gtk2_ardour/global_port_matrix.cc +++ b/gtk2_ardour/global_port_matrix.cc @@ -53,13 +53,11 @@ GlobalPortMatrix::set_state (BundleChannel c[2], bool s) Bundle::PortList const & in_ports = c[IN].bundle->channel_ports (c[IN].channel); Bundle::PortList const & out_ports = c[OUT].bundle->channel_ports (c[OUT].channel); - Glib::Mutex::Lock lm (AudioEngine::instance()->process_lock()); - for (Bundle::PortList::const_iterator i = in_ports.begin(); i != in_ports.end(); ++i) { for (Bundle::PortList::const_iterator j = out_ports.begin(); j != out_ports.end(); ++j) { - Port* p = _session->engine().get_port_by_name_locked (*i); - Port* q = _session->engine().get_port_by_name_locked (*j); + Port* p = _session->engine().get_port_by_name (*i); + Port* q = _session->engine().get_port_by_name (*j); if (p) { if (s) { |