add missing lock (for audition + mon section)
[ardour.git] / libs / ardour / route.cc
index 4d767e5df72e8194115a23e6cbe9929a1937dffa..cb27b5447256b2be20aaa2d173356af28e625748 100644 (file)
@@ -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);
 }