diff options
Diffstat (limited to 'libs/ardour/ardour/crossfade.h')
-rw-r--r-- | libs/ardour/ardour/crossfade.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/crossfade.h b/libs/ardour/ardour/crossfade.h index 2ce504eacf..53fbe07616 100644 --- a/libs/ardour/ardour/crossfade.h +++ b/libs/ardour/ardour/crossfade.h @@ -114,7 +114,7 @@ class Crossfade : public ARDOUR::AudioRegion PBD::Signal1<void,boost::shared_ptr<Region> > Invalidated; - bool covers (framecnt_t frame) const { + bool covers (framepos_t frame) const { return _position <= frame && frame < _position + _length; } |