update available sync-sources when engine [re]-starts
fixes issue with JACK only being available if Ardour was started with JACK.
This commit is contained in:
parent
b228c11311
commit
38ef9ae0ef
@ -2019,6 +2019,7 @@ RCOptionEditor::RCOptionEditor ()
|
||||
_ltc_port->set_popdown_strings (physical_inputs);
|
||||
|
||||
populate_sync_options ();
|
||||
AudioEngine::instance()->Running.connect (engine_started_connection, MISSING_INVALIDATOR, boost::bind (&RCOptionEditor::populate_sync_options, this), gui_context());
|
||||
|
||||
add_option (_("Transport"), _ltc_port);
|
||||
|
||||
@ -3224,4 +3225,6 @@ RCOptionEditor::populate_sync_options ()
|
||||
_rc_config->set_sync_source(sync_opts.front());
|
||||
}
|
||||
}
|
||||
|
||||
parameter_changed ("sync-source");
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ private:
|
||||
BoolOption* _ltc_send_continuously;
|
||||
|
||||
PBD::ScopedConnection parameter_change_connection;
|
||||
PBD::ScopedConnection engine_started_connection;
|
||||
|
||||
/* plugin actions */
|
||||
void plugin_scan_refresh ();
|
||||
|
Loading…
Reference in New Issue
Block a user