summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-04-17 09:47:06 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-04-17 09:47:06 -0400
commit3131ab8bbd9f57b6c59ff0a13460db634d5dafee (patch)
tree112381d28654a2e32891ae6d6c4dde31d3f45d2d /libs/ardour/session_process.cc
parent59e6694405cb3fb49219b78f9b668657c8ccda3c (diff)
new transport option, "loop-is-mode" which optionally changes the role of the "play loop" button.
If enabled, then the button simply changes the behaviour of the "play" button rather than actually starting playback. If disabled transport behaviour should be unchanged from before.
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index 6bfb250aec..eb5c0de294 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -1010,7 +1010,7 @@ Session::process_event (SessionEvent* ev)
switch (ev->type) {
case SessionEvent::SetLoop:
- set_play_loop (ev->yes_or_no);
+ set_play_loop (ev->yes_or_no, ev->speed);
break;
case SessionEvent::AutoLoop: