mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
move all responsibility for autostart into StartupFSM and out of engine dialog
This commit is contained in:
parent
88c4158c03
commit
eda27cc3de
3 changed files with 23 additions and 22 deletions
|
|
@ -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 ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue