summaryrefslogtreecommitdiff
path: root/libs/ardour/audioregion.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-02-09 21:31:16 +0000
committerCarl Hetherington <carl@carlh.net>2009-02-09 21:31:16 +0000
commita44a244cbae6982dee0680a5055a90562a3b3dfd (patch)
treefa2fdb58ee86bfdcb84dabaee8267863dcde3838 /libs/ardour/audioregion.cc
parent03fe04cc2a950286be0f4e029d8ec6cab7c1f5bb (diff)
Fix fade outs on split regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@4508 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audioregion.cc')
-rw-r--r--libs/ardour/audioregion.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc
index 5b31aa44ff..8ee5324674 100644
--- a/libs/ardour/audioregion.cc
+++ b/libs/ardour/audioregion.cc
@@ -133,8 +133,8 @@ AudioRegion::AudioRegion (const SourceList& srcs, nframes_t start, nframes_t len
AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other, nframes_t offset, nframes_t length, const string& name, layer_t layer, Flag flags)
: Region (other, offset, length, name, layer, flags)
, _automatable(other->session())
- , _fade_in (new AutomationList(*other->_fade_in, offset, offset + length))
- , _fade_out (new AutomationList(*other->_fade_out, offset, offset + length))
+ , _fade_in (new AutomationList(*other->_fade_in))
+ , _fade_out (new AutomationList(*other->_fade_out))
, _envelope (new AutomationList(*other->_envelope, offset, offset + length))
{
set<boost::shared_ptr<Source> > unique_srcs;