projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84cdb3
)
potential fix for crashes when creating fade-ranges
author
Robin Gareus
<robin@gareus.org>
Thu, 2 Feb 2017 22:02:48 +0000
(23:02 +0100)
committer
Robin Gareus
<robin@gareus.org>
Thu, 2 Feb 2017 22:02:48 +0000
(23:02 +0100)
libs/ardour/playlist.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/playlist.cc
b/libs/ardour/playlist.cc
index b109ef2f287faabb4750aa3323bdded9f23218b0..af439d7711cf30b20dfb27f584c7eb7dc7f9f612 100644
(file)
--- a/
libs/ardour/playlist.cc
+++ b/
libs/ardour/playlist.cc
@@
-3318,6
+3318,7
@@
Playlist::uncombine (boost::shared_ptr<Region> target)
void
Playlist::fade_range (list<AudioRange>& ranges)
{
+ RegionReadLock rlock (this);
for (list<AudioRange>::iterator r = ranges.begin(); r != ranges.end(); ++r) {
for (RegionList::const_iterator i = regions.begin(); i != regions.end(); ++i) {
(*i)->fade_range ((*r).start, (*r).end);