diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-23 12:25:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-23 12:25:22 +0000 |
commit | f850ca1ba26e931bf4287eb95cb46a014fe33ccd (patch) | |
tree | 4b1ed3ae4267de12c6dc5a87b0ba4e66fc1c83fc /libs/ardour/audio_playlist.cc | |
parent | f0def9bb888f5698796447b893b52ed0544c12e3 (diff) |
ardour_system.rc now has the same content as ardour.rc, to allow us to more easily add new variable/parameters when updating a user's configuration
git-svn-id: svn://localhost/ardour2/trunk@1739 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_playlist.cc')
-rw-r--r-- | libs/ardour/audio_playlist.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/audio_playlist.cc b/libs/ardour/audio_playlist.cc index 501482c840..1a7405dbd3 100644 --- a/libs/ardour/audio_playlist.cc +++ b/libs/ardour/audio_playlist.cc @@ -30,6 +30,7 @@ #include <ardour/crossfade.h> #include <ardour/crossfade_compare.h> #include <ardour/session.h> +#include <pbd/enumwriter.h> #include "i18n.h" @@ -381,6 +382,7 @@ AudioPlaylist::check_dependents (boost::shared_ptr<Region> r, bool norefresh) } + OverlapType c = top->coverage (bottom->position(), bottom->last_frame()); try { @@ -411,7 +413,7 @@ AudioPlaylist::check_dependents (boost::shared_ptr<Region> r, bool norefresh) xfade = boost::shared_ptr<Crossfade> (new Crossfade (top, bottom, xfade_length, top->first_frame(), StartOfIn)); add_crossfade (xfade); - + if (top_region_at (top->last_frame() - 1) == top) { /* only add a fade out if there is no region on top of the end of 'top' (which |