summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-24 02:30:46 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-24 02:30:46 +0000
commite2b181bc5cf342b73f71776898cd876fe3f6d824 (patch)
tree364e83af03feebf0b8ab1daf9b8bdae383cd6435 /libs/ardour
parente09dccc662f644761537693785ae8ae8fa49acdf (diff)
a better fix for click oddness: do not clear clicks when transport stops till *after* the new _transport_frame value has been set, so that we know when the clicks were accurately cleared
git-svn-id: svn://localhost/ardour2/branches/3.0@11327 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/session_transport.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 843ae17e5f..6347c553a9 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -465,7 +465,6 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
auditioner->cancel_audition ();
}
- clear_clicks();
cumulative_rf_motion = 0;
reset_rf_scale (0);
@@ -582,13 +581,14 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
_requested_return_frame = -1;
if (do_locate) {
- clear_clicks ();
_engine.transport_locate (_transport_frame);
}
}
}
+ clear_clicks();
+
/* do this before seeking, because otherwise the tracks will do the wrong thing in seamless loop mode.
*/