add Session::transport_stopped_or_stopping()
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 30 Dec 2019 01:41:02 +0000 (18:41 -0700)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 30 Dec 2019 01:43:51 +0000 (18:43 -0700)
commit719c3f1457501c1b808c9c6edf977e2b7d07e744
tree5ca663c3c9f6504dcb8c0af82de17155f2d0f734
parentaf30a6f001f0758155b3ece040fc2baa643a29de
add Session::transport_stopped_or_stopping()

Session::TransportStateChanged notifies about transport stop before the stop is complete (i.e. at the start of the declick).
Various other objects (notably control surfaces) connect to this signal and use it to modify their displayed state.
We need a method that can tell them we are stopped (or stopping) even though we are not "fully" stopped yet. This is
that method
libs/ardour/ardour/session.h
libs/ardour/ardour/transport_fsm.h
libs/ardour/session_transport.cc