allow to update meter position w/o engine
authorRobin Gareus <robin@gareus.org>
Sun, 26 Apr 2015 04:24:57 +0000 (06:24 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 26 Apr 2015 04:24:57 +0000 (06:24 +0200)
libs/ardour/route.cc

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