add Session::transport_stopped_or_stopping()
[ardour.git] / libs / ardour / ardour / transport_fsm.h
index 26ccb787657970330ac9ae02d5da9c3ee3ab1d54..12550d92a7ac81834088091139564924b80868c3 100644 (file)
@@ -148,6 +148,7 @@ struct TransportFSM
        bool locating () const           { return _motion_state == WaitingForLocate; }
        bool rolling () const            { return _motion_state == Rolling; }
        bool stopped () const            { return _motion_state == Stopped; }
+       bool stopping () const           { return _motion_state == DeclickToStop; }
        bool waiting_for_butler() const  { return _butler_state == WaitingForButler; }
        bool declick_in_progress() const { return _motion_state == DeclickToLocate || _motion_state == DeclickToStop; }