mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 19:37:45 +01:00
Tracks specific fix for SR reverting to previous value while creating new session
This commit is contained in:
parent
c5f2692bca
commit
d75ca2cf5d
1 changed files with 4 additions and 0 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue