move all responsibility for autostart into StartupFSM and out of engine dialog

This commit is contained in:
Paul Davis 2019-11-06 17:35:30 -07:00
parent 88c4158c03
commit eda27cc3de
3 changed files with 23 additions and 22 deletions

View file

@ -470,18 +470,6 @@ EngineControl::config_parameter_changed (std::string const & p)
}
}
bool
EngineControl::try_autostart ()
{
if (!start_stop_button.get_sensitive()) {
return false;
}
if (ARDOUR::AudioEngine::instance()->running()) {
return true;
}
return start_engine ();
}
bool
EngineControl::start_engine ()
{