Update automated Plugin Controlls when seeking and not rolling
authorRobin Gareus <robin@gareus.org>
Fri, 19 Aug 2016 01:31:08 +0000 (03:31 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 19 Aug 2016 01:32:07 +0000 (03:32 +0200)
libs/ardour/plugin_insert.cc

index 9a0e6c55c40574e32cd001bf5e3df688593e625c..40c3f3aae3ac0ebb916d4f67326f2a5746af909c 100644 (file)
@@ -1090,7 +1090,8 @@ PluginInsert::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame
                if (_session.transport_rolling() || _session.bounce_processing()) {
                        automation_run (bufs, start_frame, end_frame, speed, nframes);
                } else {
-                       connect_and_run (bufs, start_frame, end_frame, speed, nframes, 0, false);
+                       Glib::Threads::Mutex::Lock lm (control_lock(), Glib::Threads::TRY_LOCK);
+                       connect_and_run (bufs, start_frame, end_frame, speed, nframes, 0, lm.locked());
                }
 
        } else {