diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index f1e3b19732..ac86a36124 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -293,6 +293,10 @@ Session::Session (AudioEngine &eng, pre_engine_init (fullpath); if (_is_new) { + +#ifdef USE_TRACKS_CODE_FEATURES + sr = EngineStateController::instance()->get_current_sample_rate(); +#endif if (ensure_engine (sr)) { destroy (); throw failed_constructor ();