From 1b07ad731e51cbb6638c5f39e1de84238bbeee60 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 20 Aug 2024 18:58:45 +0200 Subject: [PATCH] RegionFX: use actual plugin tail --- libs/ardour/audioregion.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 4ef78b659e..55cdccd52b 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -529,7 +529,7 @@ timecnt_t AudioRegion::tail () const { if (_fade_before_fx && has_region_fx ()) { - return timecnt_t (_session.sample_rate ()); // TODO use plugin API + return timecnt_t ((samplecnt_t)_fx_tail); } else { return timecnt_t (0); }