#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"
}
} 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;
}
}
}
- tsr.done = true;
-
return ret;
}