mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 18:16:35 +01:00
fix samplerate initialization.
This commit is contained in:
parent
d9fcd142b4
commit
435dd4e98f
1 changed files with 5 additions and 0 deletions
|
|
@ -317,6 +317,11 @@ Session::Session (AudioEngine &eng,
|
||||||
throw SessionException (_("Cannot connect to audio/midi engine"));
|
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)) {
|
if (create (mix_template, bus_profile)) {
|
||||||
destroy ();
|
destroy ();
|
||||||
throw SessionException (_("Session initialization failed"));
|
throw SessionException (_("Session initialization failed"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue