Allow to call set_state() on existing routes
authorRobin Gareus <robin@gareus.org>
Tue, 5 Mar 2019 23:57:49 +0000 (00:57 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 5 Mar 2019 23:57:49 +0000 (00:57 +0100)
commit883ee9c2a06f773a50c2c2f91e7572167505ae5b
tree0bc9822b64636f4596e4fbd27f40191a46f9c055
parent2bfe0c6ff7f36610eaf7ff85eb36823a1f446150
Allow to call set_state() on existing routes

Delaylines are not saved in the XML and internal-return is an
invisible processor not explicitly re-added when the state is restored.

They are [re]inserted during Route::setup_invisible_processors().
So this method need to be called after restoring processor state
(indirectly via configure_processors_unlocked as needed).

PS. During route creation this call happens explicitly and on session load
hookup_io() -> Route::output_change_handler() implicitly sets this up.
libs/ardour/route.cc