diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-10-10 21:07:24 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-10-10 21:07:24 +0000 |
commit | 80079398397f6a89fa8054ffc7732511bf8a70df (patch) | |
tree | 3eda9cd7f12e3de7ef5b2b2879cb4bbf0f126145 /gtk2_ardour/rc_option_editor.cc | |
parent | 0441bc140edaa4edb57bd1b4caf34d15b3f9a3bc (diff) |
add global config parameter timecode-sync-frame-rate to control behaviour when a timecode slave (MTC, LTC) has a different frame rate than an Ardour session
git-svn-id: svn://localhost/ardour2/branches/3.0@13233 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 9ba83021d5..b298e79880 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -885,6 +885,17 @@ RCOptionEditor::RCOptionEditor () add_option (_("Misc"), procs); } + add_option (_("Misc"), new OptionEditorHeading (S_("Sync/Slave"))); + + BoolOption* tsf = new BoolOption ( + "timecode-sync-frame-rate", + _("Force Ardour's timecode rate to match timecode master"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_timecode_sync_frame_rate), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_timecode_sync_frame_rate) + ); + tsf->set_note (_("If off, Ardour will chase the master but will use its own timecode frame rate")); + add_option (_("Misc"), tsf); + add_option (_("Misc"), new OptionEditorHeading (S_("Options|Undo"))); add_option (_("Misc"), new UndoOptions (_rc_config)); |