diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-17 02:48:24 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-17 02:48:24 +0000 |
commit | 54d00408c3a1d36899fdd8b4f085aa2a2946009e (patch) | |
tree | 9bfa7a6827ef1a815ff969717d8b8dcfdeba6673 /libs/ardour/crossfade.cc | |
parent | f5c4c8a2931f383c76212ea1cfdb6f85f43bb72f (diff) |
forward port 2.X changes up to and including rev 6842
git-svn-id: svn://localhost/ardour2/branches/3.0@7637 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/crossfade.cc')
-rw-r--r-- | libs/ardour/crossfade.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/crossfade.cc b/libs/ardour/crossfade.cc index 40857bd56a..aa203c3940 100644 --- a/libs/ardour/crossfade.cc +++ b/libs/ardour/crossfade.cc @@ -837,6 +837,9 @@ Crossfade::set_state (const XMLNode& node, int /*version*/) } } + _fade_in.front()->value = 0.0; + _fade_in.back()->value = 1.0; + _fade_in.thaw (); /* fade out */ @@ -862,6 +865,9 @@ Crossfade::set_state (const XMLNode& node, int /*version*/) } } + _fade_out.front()->value = 1.0; + _fade_out.back()->value = 0.0; + _fade_out.thaw (); PropertyChanged (what_changed); /* EMIT SIGNAL */ |