diff options
author | David Robillard <d@drobilla.net> | 2015-03-05 18:48:33 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-03-05 18:48:33 -0500 |
commit | 408090adce65f6a23e1e4b7afbd26f0cd6177e88 (patch) | |
tree | 44672dd6e46e1a0f2ba07e8abf37f193ab140dd6 /gtk2_ardour/rc_option_editor.cc | |
parent | a8aae56d92699e4545b5f8a69742f9a1c75ad238 (diff) |
Add MIDI readahead to options editor.
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index ef3c66153e..f9b9b37840 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2067,6 +2067,16 @@ RCOptionEditor::RCOptionEditor () )); add_option (_("MIDI"), + new SpinOption<float> ( + "midi-readahead", + _("MIDI read-ahead time (seconds)"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_midi_readahead), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_midi_readahead), + 0.1, 10, 0.1, 1, + "", 1.0, 1 + )); + + add_option (_("MIDI"), new BoolOption ( "send-midi-clock", _("Send MIDI Clock"), |