alter ARDOUR::init() API to specify whether a GUI is in control or not

This commit is contained in:
Paul Davis 2019-10-20 22:39:09 -06:00
parent 3f2f517291
commit 58e8fb7aab
3 changed files with 8 additions and 3 deletions

View file

@ -383,7 +383,7 @@ int main (int argc, char *argv[])
<< endl;
}
if (!ARDOUR::init (ARDOUR_COMMAND_LINE::use_vst, ARDOUR_COMMAND_LINE::try_hw_optimization, localedir.c_str())) {
if (!ARDOUR::init (ARDOUR_COMMAND_LINE::use_vst, ARDOUR_COMMAND_LINE::try_hw_optimization, localedir.c_str(), true)) {
error << string_compose (_("could not initialize %1."), PROGRAM_NAME) << endmsg;
Gtk::Main main (argc, argv);
Gtk::MessageDialog msg (string_compose (_("Could not initialize %1 (likely due to corrupt config files).\n"