summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-11-19 21:31:44 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-11-19 21:31:44 +0000
commit8b3d0f04c13493e6026f4609a4f8138273e01c62 (patch)
treeb6a49230ee2fe2e46ab69b56b4ff62324fde42ba /gtk2_ardour/rc_option_editor.cc
parenteb1382bd9aae3d433f78d55fdee9abc071bf7dd8 (diff)
tweak config param for automation sampling interval, set to 500msec by default, and expose in prefs dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@13533 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 4bab2304a1..e001f5e908 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -973,6 +973,15 @@ RCOptionEditor::RCOptionEditor ()
0, 1000, 1, 20
));
+ add_option (_("Misc"),
+ new SpinOption<double> (
+ "automation-interval-msecs",
+ _("Automation sampling interval (milliseconds)"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_automation_interval_msecs),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_automation_interval_msecs),
+ 1, 1000, 1, 20
+ ));
+
/* TRANSPORT */
BoolOption* tsf;