Fix auto capture alignment when bouncing metronome

This commit is contained in:
Robin Gareus 2019-08-11 20:37:36 +02:00
parent 9fb403546c
commit f08b90f368
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -760,8 +760,20 @@ Track::set_align_choice_from_io ()
connections.clear ();
}
/* Special case bounding the Metronome.
* Click-out is aligned to output and hence
* equivalent to a physical round-trip alike
* ExistingMaterial.
*/
if (!have_physical && _session.click_io ()) {
if (_session.click_io ()->connected_to (_input)) {
have_physical = true;
}
}
}
#ifdef MIXBUS
// compensate for latency when bouncing from master or mixbus.
// we need to use "ExistingMaterial" to pick up the master bus' latency