13
0

allow to update meter position w/o engine

This commit is contained in:
Robin Gareus 2015-04-26 06:24:57 +02:00
parent 6ac8588cd8
commit 397b473e45

View File

@ -3359,7 +3359,7 @@ Route::set_meter_point (MeterPoint p, bool force)
return; return;
} }
if (force) { if (force || !AudioEngine::instance()->running()) {
Glib::Threads::Mutex::Lock lx (AudioEngine::instance()->process_lock ()); Glib::Threads::Mutex::Lock lx (AudioEngine::instance()->process_lock ());
Glib::Threads::RWLock::WriterLock lm (_processor_lock); Glib::Threads::RWLock::WriterLock lm (_processor_lock);
_pending_meter_point = p; _pending_meter_point = p;