From 47246c86e28beefee57cb409ea60e3b4573414b9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 10 Oct 2017 22:12:37 +0200 Subject: [PATCH] add missing lock (for audition + mon section) --- libs/ardour/route.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 4d767e5df7..cb27b54472 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -703,6 +703,7 @@ void Route::monitor_run (samplepos_t start_sample, samplepos_t end_sample, pframes_t nframes, int declick) { assert (is_monitor()); + Glib::Threads::RWLock::ReaderLock lm (_processor_lock, Glib::Threads::TRY_LOCK); run_route (start_sample, end_sample, nframes, declick, true, false); }