From f08b90f36870249cc3e9ea089dd6594269c67148 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 11 Aug 2019 20:37:36 +0200 Subject: Fix auto capture alignment when bouncing metronome --- libs/ardour/track.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libs/ardour/track.cc') diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 84bedca394..e80026742a 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -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 -- cgit v1.2.3