From 3131ab8bbd9f57b6c59ff0a13460db634d5dafee Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 17 Apr 2014 09:47:06 -0400 Subject: 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. --- libs/ardour/session_process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/session_process.cc') 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: -- cgit v1.2.3