13
0

add missing lock (for audition + mon section)

This commit is contained in:
Robin Gareus 2017-10-10 22:12:37 +02:00
parent 514c43278b
commit 47246c86e2

View File

@ -703,6 +703,7 @@ void
Route::monitor_run (samplepos_t start_sample, samplepos_t end_sample, pframes_t nframes, int declick) Route::monitor_run (samplepos_t start_sample, samplepos_t end_sample, pframes_t nframes, int declick)
{ {
assert (is_monitor()); assert (is_monitor());
Glib::Threads::RWLock::ReaderLock lm (_processor_lock, Glib::Threads::TRY_LOCK);
run_route (start_sample, end_sample, nframes, declick, true, false); run_route (start_sample, end_sample, nframes, declick, true, false);
} }