diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-22 14:27:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-22 14:27:51 +0000 |
commit | 8c10320497f09f85a90eb831f3e6d30d084eb7ab (patch) | |
tree | 9e352c2e5e763d780ccad3821cd78716d08908a2 /gtk2_ardour/shuttle_control.cc | |
parent | d70429a066dfd33cca0b6f64be7014649a9910ca (diff) |
fix reset of transport speed when seamless looping; add a few comments and tidy-ups to related transport code
git-svn-id: svn://localhost/ardour2/branches/3.0@12818 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/shuttle_control.cc')
-rw-r--r-- | gtk2_ardour/shuttle_control.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/shuttle_control.cc b/gtk2_ardour/shuttle_control.cc index abbd39ac16..68d91ef162 100644 --- a/gtk2_ardour/shuttle_control.cc +++ b/gtk2_ardour/shuttle_control.cc @@ -648,6 +648,9 @@ ShuttleControl::parameter_changed (std::string p) if (_session->transport_speed() == 1.0) { queue_draw (); } else { + /* reset current speed and + revert to 1.0 as the default + */ _session->request_transport_speed (1.0); /* redraw when speed changes */ } |