From ba1058aca63d4648b38b28d2bacc57b0d412fc28 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 19 Aug 2016 03:31:08 +0200 Subject: Update automated Plugin Controlls when seeking and not rolling --- libs/ardour/plugin_insert.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/ardour/plugin_insert.cc') diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 9a0e6c55c4..40c3f3aae3 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -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 { -- cgit v1.2.3