path: root/libs/ardour/ardour/session.h
diff options
authorPaul Davis <>2019-12-29 18:41:02 -0700
committerPaul Davis <>2019-12-29 18:43:51 -0700
commit719c3f1457501c1b808c9c6edf977e2b7d07e744 (patch)
tree5ca663c3c9f6504dcb8c0af82de17155f2d0f734 /libs/ardour/ardour/session.h
parentaf30a6f001f0758155b3ece040fc2baa643a29de (diff)
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
Diffstat (limited to 'libs/ardour/ardour/session.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index d71134db7e..6ba15929d5 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -764,6 +764,7 @@ public:
double transport_speed() const { return _count_in_samples > 0 ? 0. : _transport_speed; }
bool transport_stopped() const;
+ bool transport_stopped_or_stopping() const;
bool transport_rolling() const;
bool silent () { return _silent; }