mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
fix external sync source configuration.
git-svn-id: svn://localhost/ardour2/branches/3.0@13782 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
97a6682647
commit
9a60d79c17
2 changed files with 3 additions and 3 deletions
|
|
@ -69,6 +69,8 @@ when the pull up/down setting is non-zero."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ActionManager::toggle_config_state_foo ("Transport", "ToggleExternalSync", sigc::mem_fun (_session->config, &SessionConfiguration::set_external_sync), sigc::mem_fun (_session->config, &SessionConfiguration::get_external_sync));
|
||||||
|
|
||||||
/* activating a slave is a session-property.
|
/* activating a slave is a session-property.
|
||||||
* The slave type is a RC property.
|
* The slave type is a RC property.
|
||||||
* When the slave is active is must not be reconfigured.
|
* When the slave is active is must not be reconfigured.
|
||||||
|
|
@ -79,8 +81,6 @@ when the pull up/down setting is non-zero."));
|
||||||
* status changed:
|
* status changed:
|
||||||
*/
|
*/
|
||||||
Config->ParameterChanged("sync-source");
|
Config->ParameterChanged("sync-source");
|
||||||
|
|
||||||
ActionManager::toggle_config_state_foo ("Transport", "ToggleExternalSync", sigc::mem_fun (_session->config, &SessionConfiguration::set_external_sync), sigc::mem_fun (_session->config, &SessionConfiguration::get_external_sync));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1812,7 +1812,7 @@ RCOptionEditor::parameter_changed (string const & p)
|
||||||
} else if (p == "sync-source") {
|
} else if (p == "sync-source") {
|
||||||
_sync_source->set_sensitive (true);
|
_sync_source->set_sensitive (true);
|
||||||
if (_session) {
|
if (_session) {
|
||||||
_sync_source->set_sensitive (_session->config.get_external_sync());
|
_sync_source->set_sensitive (!_session->config.get_external_sync());
|
||||||
}
|
}
|
||||||
switch(Config->get_sync_source()) {
|
switch(Config->get_sync_source()) {
|
||||||
case ARDOUR::MTC:
|
case ARDOUR::MTC:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue