allow linking unbundled versions of some libraries
[ardour.git] / libs / ardour / rb_effect.cc
index d928377e2523aa38758d190941a128937a0f7021..804b79f87df9e8a555adcbe56bb0a844279e5f8e 100644 (file)
 #include <algorithm>
 #include <cmath>
 
+#include <rubberband/RubberBandStretcher.h>
+
 #include "pbd/error.h"
-#include "rubberband/RubberBandStretcher.h"
 
-#include "ardour/types.h"
-#include "ardour/stretch.h"
-#include "ardour/pitch.h"
-#include "ardour/audiofilesource.h"
-#include "ardour/session.h"
 #include "ardour/audioregion.h"
+#include "ardour/audiosource.h"
+#include "ardour/pitch.h"
 #include "ardour/progress.h"
+#include "ardour/session.h"
+#include "ardour/stretch.h"
+#include "ardour/types.h"
 
 #include "i18n.h"
 
@@ -329,7 +330,7 @@ RBEffect::run (boost::shared_ptr<Region> r, Progress* progress)
                }
 
        } catch (runtime_error& err) {
-               error << _("timefx code failure. please notify ardour-developers.") << endmsg;
+               error << string_compose (_("programming error: %1"), X_("timefx code failure")) << endmsg;
                error << err.what() << endmsg;
                goto out;
        }
@@ -388,8 +389,6 @@ RBEffect::run (boost::shared_ptr<Region> r, Progress* progress)
                }
        }
 
-       tsr.done = true;
-
        return ret;
 }