13
0

L: add and connect missing direct out processors

This commit is contained in:
Robin Gareus 2024-06-12 20:46:24 +02:00
parent 814eecc5ff
commit 49b459eb46
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 8 additions and 0 deletions

View File

@ -3254,6 +3254,10 @@ Route::set_processor_state (const XMLNode& node, int version)
ProcessorList old_list = _processors; // keep a copy
{
Glib::Threads::Mutex::Lock lx (AudioEngine::instance()->process_lock ());
if (!_direct_outs && Profile->get_livetrax ()) {
create_direct_outs ();
}
Glib::Threads::RWLock::WriterLock lm (_processor_lock);
/* re-assign _processors w/o process-lock.
* if there's an IO-processor present in _processors but

View File

@ -403,6 +403,10 @@ Session::post_engine_init ()
/* Can't do this until the trigger input MIDI port is set up */
TriggerBox::static_init (*this);
if (Stateful::loading_state_version == 3001 && Profile->get_livetrax()) {
livetrax_auto_connect ();
}
set_clean ();
/* Now, finally, we can [ask the butler to] fill the playback buffers */