From 5c3bcd608f3a864dfd606fbeb585fff541df6295 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 20 Mar 2025 21:44:52 -0600 Subject: [PATCH] NO-OP: add some helpful comments --- libs/ardour/triggerbox.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 466b4f3d7d..b574a2e1a6 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -3733,8 +3733,16 @@ TriggerBox::maybe_capture (BufferSet& bufs, samplepos_t start_sample, samplepos_ bool reached_end = false; if (!ai->slot.armed()) { + /* since _arm_info is set, we have been capturing for a lot, + but now the slot is no longer armed. + */ if (!ai->end_samples) { - /* disarmed: compute end */ + /* we have just noticed that the slot has been + disarmed, so now compute where the end of recording + will be, if that has not already been determined (we + are quantizating to the slot's own quantization + setting here). + */ Beats start_b; Beats end_b; BBT_Argument t_bbt;