diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-03 23:55:00 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-03 23:55:00 +0000 |
commit | d795980546156b5094a23b465f68c9c9472818b7 (patch) | |
tree | 4e55832ce5c8e98b9e6307b459de9d95c42b45ac /gtk2_ardour/rc_option_editor.cc | |
parent | b3fe29af410d0e809d4c2e5e15e78a064fda63e4 (diff) |
Stop QF messages when transport speed is out of range, and re-start them properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@8423 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index be65cef513..72229572a2 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -1308,6 +1308,15 @@ RCOptionEditor::RCOptionEditor () )); add_option (_("MIDI control"), + new SpinOption<int> ( + "mtc-qf-speed-tolerance", + _("Percentage either side of normal transport speed to transmit MTC"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_mtc_qf_speed_tolerance), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_mtc_qf_speed_tolerance), + 0, 20, 1, 5 + )); + + add_option (_("MIDI control"), new BoolOption ( "mmc-control", _("Obey MIDI Machine Control commands"), @@ -1315,7 +1324,6 @@ RCOptionEditor::RCOptionEditor () sigc::mem_fun (*_rc_config, &RCConfiguration::set_mmc_control) )); - add_option (_("MIDI control"), new BoolOption ( "send-mmc", |