From edd68d86825904e3dc894a07fbb86560bde65f11 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 15 Dec 2022 00:55:32 +0100 Subject: [PATCH] Automatically align metronome when recording it to a track --- libs/ardour/track.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 62a49effcc..93d2f6b6c1 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -821,6 +821,12 @@ Track::set_align_choice_from_io () } #endif + + /* metronome aligns to ExistingMaterial */ + if (_input->connected_to (_session.click_io ())) { + have_physical = true; + } + if (have_physical) { _disk_writer->set_align_style (ExistingMaterial); } else {