summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-10-10 22:12:37 +0200
committerRobin Gareus <robin@gareus.org>2017-10-10 22:12:54 +0200
commit47246c86e28beefee57cb409ea60e3b4573414b9 (patch)
tree6e8d811dac9220a2805c43124a4f2212cc1e7cb2 /libs/ardour/route.cc
parent514c43278bb03150a1f4c5afc5808ba81adb00d5 (diff)
add missing lock (for audition + mon section)
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc1
1 files changed, 1 insertions, 0 deletions
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);
}