do not attempt to update transport master rows if audioengine is not running

This commit is contained in:
Paul Davis
2019-02-06 13:53:17 -07:00
parent 5e1484bf18
commit 896091d256

View File

@@ -488,6 +488,10 @@ TransportMastersWidget::Row::update (Session* s, samplepos_t now)
boost::shared_ptr<TimecodeTransportMaster> ttm;
boost::shared_ptr<MIDIClock_TransportMaster> mtm;
if (!AudioEngine::instance()->running()) {
return;
}
if (s) {
if (tm->speed_and_position (speed, pos, most_recent, when, now)) {