mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
alter ARDOUR::init() API to specify whether a GUI is in control or not
This commit is contained in:
parent
3f2f517291
commit
58e8fb7aab
3 changed files with 8 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue