diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-11 18:22:45 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-15 16:04:58 -0700 |
commit | 8a847dbf340206acf8dadfd17ed785665cfeecec (patch) | |
tree | 99de995c586f397c8de16f31a8598b78ccecdc45 /libs/ardour/engine_slave.cc | |
parent | c69227fd8ddc73f3d98a7959f5b71fd1df6a4017 (diff) |
fix oddly damaged code (vs. 5.x) for EngineSlave core methods (JACK transport)
Diffstat (limited to 'libs/ardour/engine_slave.cc')
-rw-r--r-- | libs/ardour/engine_slave.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/engine_slave.cc b/libs/ardour/engine_slave.cc index 8fdd78a1e8..d18e39841c 100644 --- a/libs/ardour/engine_slave.cc +++ b/libs/ardour/engine_slave.cc @@ -96,8 +96,10 @@ Engine_TransportMaster::speed_and_position (double& sp, samplepos_t& position, s * called synchronously with the engine. */ - if (backend && backend->speed_and_position (sp, position)) { - return true; + if (backend) { + _starting = backend->speed_and_position (sp, position); + } else { + _starting = false; } lp = now; @@ -105,7 +107,7 @@ Engine_TransportMaster::speed_and_position (double& sp, samplepos_t& position, s _current_delta = 0; - return false; + return true; } std::string |