summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-07 23:51:39 +0200
committerRobin Gareus <robin@gareus.org>2020-04-07 23:52:16 +0200
commitf7abab11a30262f598684e481c10d04ee8473911 (patch)
treed89b82ef8318b48a0ec7d36d4d21238d0f6fe866 /gtk2_ardour/rc_option_editor.cc
parent989e388cadd955d1228403838d23ed58fec68c9f (diff)
Add preference to reset x-run counter on rec-start #6706
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 7367302df0..7f9ef59464 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -3406,6 +3406,14 @@ RCOptionEditor::RCOptionEditor ()
);
add_option (_("Transport"), bo);
+ bo = new BoolOption (
+ "recording-resets-xrun-count",
+ _("Reset x-run counter when starting to record"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_recording_resets_xrun_count),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_recording_resets_xrun_count)
+ );
+ add_option (_("Transport"), bo);
+
add_option (_("Transport"), new OptionEditorHeading (_("Transport Masters")));