enable sync genlock & setFPS option for both MTC & LTC
git-svn-id: svn://localhost/ardour2/branches/3.0@13293 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
99a177da84
commit
8427901b6a
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user