diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-26 18:28:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-26 18:28:42 +0000 |
commit | 5a0c8cd79c22bf2c4f54b9aa5e3d64be4535be1a (patch) | |
tree | d9bd7f42941126456a094abb605fdef4c4df5fe6 /gtk2_ardour | |
parent | 553cf2982c4905c5a08f305ce2772beaa8c50324 (diff) |
add two process lock calls where some port connecting occurs
git-svn-id: svn://localhost/ardour2/branches/3.0@8092 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/io_selector.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/io_selector.cc b/gtk2_ardour/io_selector.cc index 30c581367d..f3bc947355 100644 --- a/gtk2_ardour/io_selector.cc +++ b/gtk2_ardour/io_selector.cc @@ -136,6 +136,8 @@ 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) { |