From 8427901b6aa1ab14773ca41d3f249a7acbf944ba Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 16 Oct 2012 23:04:00 +0000 Subject: [PATCH] enable sync genlock & setFPS option for both MTC & LTC git-svn-id: svn://localhost/ardour2/branches/3.0@13293 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/rc_option_editor.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index c889962158..52ef644339 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -1725,12 +1725,16 @@ RCOptionEditor::parameter_changed (string const & p) _solo_control_is_listen_control->set_sensitive (s); _listen_position->set_sensitive (s); } else if (p == "sync-source") { - if (Config->get_sync_source() != ARDOUR::MTC) { - _sync_genlock->set_sensitive (false); - _sync_framerate->set_sensitive (false); - } else { + switch(Config->get_sync_source()) { + case ARDOUR::MTC: + case ARDOUR::LTC: _sync_genlock->set_sensitive (true); _sync_framerate->set_sensitive (true); + break; + default: + _sync_genlock->set_sensitive (false); + _sync_framerate->set_sensitive (false); + break; } } }