transport stop resets default_transport_speed

This means that using the wheel in the GUI (or equivalent) ends its effect at transport stop
This commit is contained in:
Paul Davis 2020-03-05 08:35:26 -07:00
parent 9a3159c2c0
commit abcb092adc

View file

@ -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 ();