projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5a657c
)
Tracks specific fix for SR reverting to previous value while creating new session
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 11 May 2015 22:51:14 +0000
(18:51 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:12 +0000
(14:18 -0400)
libs/ardour/session.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session.cc
b/libs/ardour/session.cc
index f1e3b19732afe3a3a9f9771c311938836980481b..ac86a3612412f4a63cb06f8f9d1dae67e8eb6b81 100644
(file)
--- 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 ();