summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-06 22:43:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-06 22:43:47 +0000
commit8bb5605dfc48a9578164e820fb866f0e7881d899 (patch)
tree29171e531c26a0a79513f0b6f06d95d9ce05c494 /libs/ardour/session_process.cc
parentc3e7746e367b5b461f0577b548c9e29854bdde06 (diff)
deep, somewhat subtle changes for transport control. Everything should use Session::request_stop(), which nows takes an additional argument indicating whether or not to clear play range/loop state. UI threads will generally do so, other things, like slave sync objects, generally will not. also fixed stupid delay on exit, caused by unconditional usleep (2.5 seconds) ...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6027 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index 347356a7f4..a6b3b6dd4a 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -550,7 +550,8 @@ Session::follow_slave (nframes_t nframes)
Location* al = _locations.auto_loop_location();
if (al && play_loop && (slave_transport_frame < al->start() || slave_transport_frame > al->end())) {
- // cancel looping
+ // master has moved outside the loop: stop looping
+ cerr << "Stop looping - master out of range\n";
request_play_loop(false);
}