add GUI config support for seamless loop option
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 24 Aug 2010 22:06:37 +0000 (22:06 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 24 Aug 2010 22:06:37 +0000 (22:06 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7677 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/rc_option_editor.cc

index aedb1cb29d30cca44e0e894020f4ac902988ac4f..e9e3bd5769abe426c13fa273fdaaca68845c116c 100644 (file)
@@ -862,6 +862,14 @@ RCOptionEditor::RCOptionEditor ()
                     sigc::mem_fun (*_rc_config, &RCConfiguration::set_stop_at_session_end)
                     ));
 
                     sigc::mem_fun (*_rc_config, &RCConfiguration::set_stop_at_session_end)
                     ));
 
+       add_option (_("Transport"),
+            new BoolOption (
+                    "seamless-loop",
+                    _("Do seamless looping (not possible when slaved to MTC, JACK etc)"),
+                    sigc::mem_fun (*_rc_config, &RCConfiguration::get_seamless_loop),
+                    sigc::mem_fun (*_rc_config, &RCConfiguration::set_seamless_loop)
+                    ));
+
        add_option (_("Transport"),
             new BoolOption (
                     "primary-clock-delta-edit-cursor",
        add_option (_("Transport"),
             new BoolOption (
                     "primary-clock-delta-edit-cursor",