diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-05 08:35:26 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-05 08:35:39 -0700 |
commit | abcb092adcae61b148f82abd240282559a286b03 (patch) | |
tree | fa09b030a88ebc6be28ae6729e7807bc370ce651 /libs | |
parent | 9a3159c2c081ff02f8af87a0863f079214613429 (diff) |
transport stop resets default_transport_speed
This means that using the wheel in the GUI (or equivalent) ends its effect at transport stop
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_transport.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 2159a61a36..b32baba966 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -101,11 +101,12 @@ Session::realtime_stop (bool abort, bool clear_state) if (_transport_speed < 0.0f) { todo = (PostTransportWork (todo | PostTransportStop)); - _default_transport_speed = 1.0; } else { todo = PostTransportWork (todo | PostTransportStop); } + _default_transport_speed = 1.0; + /* call routes */ boost::shared_ptr<RouteList> r = routes.reader (); |