diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-30 03:31:49 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-30 03:31:49 +0000 |
commit | 539aa71d180d6b3d5c887707c356d3d00c0b37e8 (patch) | |
tree | cb570ae1015351c6c84c462855f137106a6c4645 /libs/ardour/crossfade.cc | |
parent | 9316ec6d4427fe9f757e79437f374d7aeceb5578 (diff) |
(MERGED FROM rev 1924 on 2.0-ongoing) fix some (all? not likely) problems with dragging close to 2^32-1 frames
git-svn-id: svn://localhost/ardour2/trunk@1925 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/crossfade.cc')
-rw-r--r-- | libs/ardour/crossfade.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libs/ardour/crossfade.cc b/libs/ardour/crossfade.cc index 847741832d..de91a53ab3 100644 --- a/libs/ardour/crossfade.cc +++ b/libs/ardour/crossfade.cc @@ -194,6 +194,11 @@ Crossfade::Crossfade (boost::shared_ptr<Crossfade> orig, boost::shared_ptr<Audio set_length(_length); } +Crossfade::Crossfade (boost::shared_ptr<Playlist> pl, boost::shared_ptr<Crossfade> other) +{ + +} + Crossfade::~Crossfade () { @@ -624,7 +629,7 @@ Crossfade::compute (boost::shared_ptr<AudioRegion> a, boost::shared_ptr<AudioReg XMLNode& Crossfade::get_state () { - XMLNode* node = new XMLNode (X_("Crossfade")); + XMLNode* node = new XMLNode (node_name()); XMLNode* child; char buf[64]; LocaleGuard lg (X_("POSIX")); @@ -886,3 +891,9 @@ Crossfade::invalidate () { Invalidated (shared_from_this ()); /* EMIT SIGNAL */ } + +string +Crossfade::node_name () +{ + return X_("Crossfade"); +} |