projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1521f2
)
muted regions should be totally ignored during playlist read()
author
Ben Loftis
<ben@glw.com>
Wed, 12 Dec 2012 18:28:40 +0000
(18:28 +0000)
committer
Ben Loftis
<ben@glw.com>
Wed, 12 Dec 2012 18:28:40 +0000
(18:28 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13649
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/audio_playlist.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audio_playlist.cc
b/libs/ardour/audio_playlist.cc
index c1b6bb6e6d36652eac54e6302e90299c84f95937..fe13fe4e68cf686801f9bde37ba43ceb7a3678d7 100644
(file)
--- a/
libs/ardour/audio_playlist.cc
+++ b/
libs/ardour/audio_playlist.cc
@@
-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) {
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;
first, trim to the range we are reading...
*/