RegionFX: use actual plugin tail
This commit is contained in:
parent
09a3c325ec
commit
1b07ad731e
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user