summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_timefx.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-27 00:59:30 +0000
committerDavid Robillard <d@drobilla.net>2009-02-27 00:59:30 +0000
commit9f77cd9e19cd639c24c99b214a436294a54eb49a (patch)
treedb08f4ad73df44f8c540c11740d4dcc74a135204 /gtk2_ardour/editor_timefx.cc
parent60b0022d75fff0a6057fcbb30c7858e8f4c646b6 (diff)
Step towards having both rubberband and soundtouch compiled in at once.
git-svn-id: svn://localhost/ardour2/branches/3.0@4697 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r--gtk2_ardour/editor_timefx.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc
index 1f3221c7cc..7552dfe8f7 100644
--- a/gtk2_ardour/editor_timefx.cc
+++ b/gtk2_ardour/editor_timefx.cc
@@ -420,7 +420,11 @@ Editor::do_timefx (TimeFXDialog& dialog)
if (dialog.pitching) {
fx = new Pitch (*session, dialog.request);
} else {
- fx = new Stretch (*session, dialog.request);
+#ifdef USE_RUBBERBAND
+ fx = new RBStretch (*session, dialog.request);
+#else
+ fx = new STStretch (*session, dialog.request);
+#endif
}
if (fx->run (region)) {