Add comment about parameters to coverage() including the end point.

This commit is contained in:
Colin Fletcher 2014-12-01 20:06:08 +00:00
parent d7cc7775f3
commit 002c3b1646

View File

@ -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: