13
0

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).
This commit is contained in:
Robin Gareus 2022-08-08 03:50:54 +02:00
parent a10f001c97
commit 902c36d019
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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) { if (session_is_new) {
try_autostart = false; try_autostart = false;
} else if (!backend) { } else if (!backend) {