mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-20 20:36:01 +01:00
almost-certain fix for "randomly-muted overlapped region" bug
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7114 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2f55c7aa2a
commit
c22d09f9ca
1 changed files with 8 additions and 0 deletions
|
|
@ -1445,18 +1445,26 @@ Playlist::regions_to_read (nframes_t start, nframes_t end)
|
|||
|
||||
case OverlapStart:
|
||||
to_check.insert ((*i)->position());
|
||||
if ((*i)->position() != 0) {
|
||||
to_check.insert ((*i)->position()-1);
|
||||
}
|
||||
covering.push_back (*i);
|
||||
break;
|
||||
|
||||
case OverlapEnd:
|
||||
to_check.insert ((*i)->last_frame());
|
||||
to_check.insert ((*i)->last_frame()+1);
|
||||
covering.push_back (*i);
|
||||
break;
|
||||
|
||||
case OverlapExternal:
|
||||
covering.push_back (*i);
|
||||
to_check.insert ((*i)->position());
|
||||
if ((*i)->position() != 0) {
|
||||
to_check.insert ((*i)->position()-1);
|
||||
}
|
||||
to_check.insert ((*i)->last_frame());
|
||||
to_check.insert ((*i)->last_frame()+1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue