muted regions should be totally ignored during playlist read()
git-svn-id: svn://localhost/ardour2/branches/3.0@13649 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f1521f241c
commit
8e8b296bb4
@ -207,6 +207,10 @@ AudioPlaylist::read (Sample *buf, Sample *mixdown_buffer, float *gain_buffer, fr
|
|||||||
for (RegionList::iterator i = all->begin(); i != all->end(); ++i) {
|
for (RegionList::iterator i = all->begin(); i != all->end(); ++i) {
|
||||||
boost::shared_ptr<AudioRegion> ar = boost::dynamic_pointer_cast<AudioRegion> (*i);
|
boost::shared_ptr<AudioRegion> ar = boost::dynamic_pointer_cast<AudioRegion> (*i);
|
||||||
|
|
||||||
|
/* muted regions don't figure into it at all */
|
||||||
|
if ( ar->muted() )
|
||||||
|
continue;
|
||||||
|
|
||||||
/* Work out which bits of this region need to be read;
|
/* Work out which bits of this region need to be read;
|
||||||
first, trim to the range we are reading...
|
first, trim to the range we are reading...
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user