Add comment about parameters to coverage() including the end point.
This commit is contained in:
parent
d7cc7775f3
commit
002c3b1646
|
@ -2703,6 +2703,7 @@ static void
|
|||
add_if_covered (RegionView* rv, const AudioRange* ar, RegionSelection* rs)
|
||||
{
|
||||
switch (rv->region()->coverage (ar->start, ar->end - 1)) {
|
||||
// n.b. -1 because AudioRange::end is one past the end, but coverage expects inclusive ranges
|
||||
case Evoral::OverlapNone:
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user