From 902c36d019581a34f6a9a5f86d84c3547d285a0d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 8 Aug 2022 03:50:54 +0200 Subject: [PATCH] Do not try to autostart engine for new users This allows new user to select the soundcard and I/O settings when loading demo sessions at first run, or when tricking Ardour to open an existing session (try to create an existing session, user may choose to load it instead). Normally a user can only create a new session after first running Ardour, and creating new sessions always shows the dialog (to set the samplerate). --- gtk2_ardour/startup_fsm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/startup_fsm.cc b/gtk2_ardour/startup_fsm.cc index 6a5d13d173..de01f60878 100644 --- a/gtk2_ardour/startup_fsm.cc +++ b/gtk2_ardour/startup_fsm.cc @@ -461,7 +461,7 @@ StartupFSM::start_audio_midi_setup () } } - bool try_autostart = (Config->get_try_autostart_engine () || g_getenv ("ARDOUR_TRY_AUTOSTART_ENGINE")); + bool try_autostart = !new_user && (Config->get_try_autostart_engine () || g_getenv ("ARDOUR_TRY_AUTOSTART_ENGINE")); if (session_is_new) { try_autostart = false; } else if (!backend) {