summaryrefslogtreecommitdiff
path: root/libs/ardour/session_transport.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-12-15 08:39:09 +0100
committerRobin Gareus <robin@gareus.org>2015-12-15 08:39:09 +0100
commita168d8b75e2a59db5019a52ed008a66c9b3ac97d (patch)
tree628ed06c1f3abbcdb3fb121bd0fce6d58dc06e4e /libs/ardour/session_transport.cc
parentff76ef86b47732396457ea7b2b2db936fe280ff3 (diff)
explicitly disallow looping with external-sync
amend 939808a7
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r--libs/ardour/session_transport.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index fdd67dd67e..f1486ada78 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -163,6 +163,12 @@ Session::force_locate (framepos_t target_frame, bool with_roll)
void
Session::request_play_loop (bool yn, bool change_transport_roll)
{
+ if (_slave && yn) {
+ // don't attempt to loop when not using Internal Transport
+ // see also gtk2_ardour/ardour_ui_options.cc parameter_changed()
+ return;
+ }
+
SessionEvent* ev;
Location *location = _locations->auto_loop_location();
double target_speed;