diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-01-24 22:05:20 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-01-25 09:23:08 -0700 |
commit | 1be3301342c74fdbb92febcbc85e8d60fb09de0e (patch) | |
tree | 4fbdc594951ed02e89c0b47e10ccaae75e9b69fd /libs/ardour/engine_slave.cc | |
parent | c01ab83e1f13f6d56a2e8ec13e9d26683dc9bb25 (diff) |
new approach to handling Transport Masters when engine is restarted
Trust that ::reset() works for all transport masters, and call it when engine is stopped. This way
the transport masters are ready to be called again as soon as the engine restarts.
Diffstat (limited to 'libs/ardour/engine_slave.cc')
-rw-r--r-- | libs/ardour/engine_slave.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/engine_slave.cc b/libs/ardour/engine_slave.cc index 451356536a..870b2a1757 100644 --- a/libs/ardour/engine_slave.cc +++ b/libs/ardour/engine_slave.cc @@ -57,6 +57,12 @@ Engine_TransportMaster::check_backend() } } +void +Engine_TransportMaster::reset (bool) +{ + _starting = false; +} + bool Engine_TransportMaster::locked() const { |