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
This commit is contained in:
David Robillard 2009-02-27 00:59:30 +00:00
parent 60b0022d75
commit 9f77cd9e19
4 changed files with 15 additions and 11 deletions

View file

@ -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)) {