projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9fcd14
)
fix samplerate initialization.
author
Robin Gareus
<robin@gareus.org>
Sat, 26 Dec 2015 03:52:08 +0000
(
04:52
+0100)
committer
Robin Gareus
<robin@gareus.org>
Sat, 26 Dec 2015 03:52:08 +0000
(
04:52
+0100)
libs/ardour/session.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session.cc
b/libs/ardour/session.cc
index 856e89eced51d6a999d4101519c615658ee6bd0d..1c7410002dde717c38c9bf4dbf74d62ded86af1b 100644
(file)
--- a/
libs/ardour/session.cc
+++ b/
libs/ardour/session.cc
@@
-317,6
+317,11
@@
Session::Session (AudioEngine &eng,
throw SessionException (_("Cannot connect to audio/midi engine"));
}
+ // set samplerate for plugins added early
+ // e.g from templates or MB channelstrip
+ set_block_size (_engine.samples_per_cycle());
+ set_frame_rate (_engine.sample_rate());
+
if (create (mix_template, bus_profile)) {
destroy ();
throw SessionException (_("Session initialization failed"));