Mercurial > hg > svcore
diff base/EventSeries.h @ 1621:cf5196881e3e single-point
Merge
author | Chris Cannam |
---|---|
date | Fri, 08 Mar 2019 13:37:08 +0000 |
parents | f594fd249473 |
children | dcd510bd89db |
line wrap: on
line diff
--- a/base/EventSeries.h Fri Mar 08 13:36:53 2019 +0000 +++ b/base/EventSeries.h Fri Mar 08 13:37:08 2019 +0000 @@ -197,10 +197,11 @@ * is less than f + d and its start frame plus its duration is * greater than f. * - * Note that getEventsSpanning(f, 0) is not equivalent to - * getEventsCovering(f). The latter includes durationless events - * at f and events starting at f, both of which are excluded from - * the former. + * Note: Passing a duration of zero is seldom useful here; you + * probably want getEventsCovering instead. getEventsSpanning(f, + * 0) is not equivalent to getEventsCovering(f). The latter + * includes durationless events at f and events starting at f, + * both of which are excluded from the former. */ EventVector getEventsSpanning(sv_frame_t frame, sv_frame_t duration) const {