allow to update meter position w/o engine
This commit is contained in:
parent
6ac8588cd8
commit
397b473e45
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user