summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-11-03 02:41:56 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-11-03 02:41:56 +0000
commit45d35d0732e18501762dc7c9bc87b519c2590447 (patch)
tree7d7a9b3ec7b0d06075f5a49bca2667b9266e2d44 /gtk2_ardour
parentc6468d181f28654b90a9e5686a662f6696c130f5 (diff)
move all destructive functionality into SndFileSource as a mode, and drop DestructiveFileSource; make ardour save changes to destructive-xfade-msecs
git-svn-id: svn://localhost/ardour2/trunk@1065 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/option_editor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index 0f1be3dd21..8f50cfc975 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -318,9 +318,12 @@ OptionEditor::destructo_xfade_adjustment_changed ()
float val = destructo_xfade_adjustment.get_value();
/* val is in msecs */
+
Config->set_destructive_xfade_msecs ((uint32_t) floor (val));
+ cerr << "set destructo fade to " << Config->get_destructive_xfade_msecs () << endl;
+
if (session) {
SndFileSource::setup_standard_crossfades (session->frame_rate());
}