stop-and-forget-capture should not toggle transport state, only stop it
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 4 Jul 2016 13:41:21 +0000 (09:41 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 4 Jul 2016 13:41:21 +0000 (09:41 -0400)
gtk2_ardour/ardour_ui.cc

index 1a6e301ccc3f66ad90ec68cde4ea62c3b81b2d95..4778b6c47db0b94885da56cd8424e2123d4aa976 100644 (file)
@@ -2306,7 +2306,12 @@ ARDOUR_UI::toggle_roll (bool with_abort, bool roll_out_of_bounded_mode)
        if (affect_transport) {
                if (rolling) {
                        _session->request_stop (with_abort, true);
        if (affect_transport) {
                if (rolling) {
                        _session->request_stop (with_abort, true);
-               } else {
+
+               } else if (!with_abort) { /* with_abort == true means the
+                                          * command was intended to stop
+                                          * transport, not start.
+                                          */
+
                        /* the only external sync condition we can be in here
                         * would be Engine (JACK) sync, in which case we still
                         * want to do this.
                        /* the only external sync condition we can be in here
                         * would be Engine (JACK) sync, in which case we still
                         * want to do this.