mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 13:46:30 +01:00
[Summary] Making existing session to reconnect tracks in it's opened
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 461823]
This commit is contained in:
parent
dfc0b58d14
commit
89d4b4fb9c
1 changed files with 17 additions and 13 deletions
|
|
@ -357,7 +357,8 @@ Session::Session (AudioEngine &eng,
|
|||
/* Waves Tracks: fill session with tracks basing on the amount of inputs.
|
||||
* each available input must have corresponding track when session starts.
|
||||
*/
|
||||
if (_is_new && ARDOUR::Profile->get_trx () ) {
|
||||
if (_is_new ) {
|
||||
if ( ARDOUR::Profile->get_trx () ) {
|
||||
uint32_t how_many (0);
|
||||
|
||||
std::vector<std::string> inputs;
|
||||
|
|
@ -372,6 +373,9 @@ Session::Session (AudioEngine &eng,
|
|||
throw failed_constructor ();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
reconnect_existing_routes(true, true);
|
||||
}
|
||||
|
||||
_is_new = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue