profile initialization per-program needs to happen earlier, in ARDOUR::init()

This commit is contained in:
Paul Davis 2024-04-18 09:00:59 -06:00
parent b2570bcaa3
commit 21a39c5f1f
1 changed files with 8 additions and 0 deletions

View File

@ -688,6 +688,14 @@ ARDOUR::init (bool try_optimization, const char* localedir, bool with_gui)
Profile = new RuntimeProfile;
if (g_getenv ("MIXBUS")) {
ARDOUR::Profile->set_mixbus ();
}
#ifdef LIVETRAX
ARDOUR::Profile->set_livetrax ();
#endif
#ifdef WINDOWS_VST_SUPPORT
if (Config->get_use_windows_vst () && fst_init (0)) {
return false;