13
0

RegionFX: use actual plugin tail

This commit is contained in:
Robin Gareus 2024-08-20 18:58:45 +02:00
parent 09a3c325ec
commit 1b07ad731e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -529,7 +529,7 @@ timecnt_t
AudioRegion::tail () const AudioRegion::tail () const
{ {
if (_fade_before_fx && has_region_fx ()) { 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 { } else {
return timecnt_t (0); return timecnt_t (0);
} }