move all responsibility for autostart into StartupFSM and out of engine dialog
[ardour.git] / gtk2_ardour / engine_dialog.cc
index 182a931cefb360106154f423bad87f850cf1a08b..6cbe04037183a5e9d617b992400d9967170e65ce 100644 (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 ()
 {