From 39d8aa0e946da3d6cebd5ddf12653eee4e2660bc Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 17 May 2011 21:43:29 +0000 Subject: [PATCH] put compounded-xfades at the right place, i think git-svn-id: svn://localhost/ardour2/branches/3.0@9547 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/audio_playlist.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/ardour/audio_playlist.cc b/libs/ardour/audio_playlist.cc index d6cb85335d..59274dc12c 100644 --- a/libs/ardour/audio_playlist.cc +++ b/libs/ardour/audio_playlist.cc @@ -1072,9 +1072,11 @@ AudioPlaylist::copy_dependents (const vector& old_and_new, boost::sh boost::dynamic_pointer_cast(ci->second.new_in), boost::dynamic_pointer_cast(ci->second.new_out))); - /* add it at the right position */ + /* add it at the right position - which must be at the start + * of the fade-out region + */ - new_xfade->set_position (ci->second.new_in->position(), this); + new_xfade->set_position (ci->second.new_out->position(), this); other_audio->add_crossfade (new_xfade); } }