diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-05-11 18:51:14 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:12 -0400 |
commit | d0b5f87fba822f8b447b386f428dd997a49885bf (patch) | |
tree | ad8384890666eac54a84b651ca4c592bce52c301 | |
parent | c5a657ceeeb4d7d587615a9e3415c9b46e3a3369 (diff) |
Tracks specific fix for SR reverting to previous value while creating new session
-rw-r--r-- | libs/ardour/session.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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 (); |