#include <algorithm>
#include <cmath>
-#include <pbd/error.h>
-#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/types.h"
+#include "ardour/stretch.h"
+#include "ardour/pitch.h"
+#include "ardour/audiofilesource.h"
+#include "ardour/session.h"
+#include "ardour/audioregion.h"
#include "i18n.h"
{
}
-Stretch::Stretch (Session& s, TimeFXRequest& req)
+RBStretch::RBStretch (Session& s, TimeFXRequest& req)
: RBEffect (s, req)
{
}
out:
- if (gain_buffer) {
- delete [] gain_buffer;
- }
+ delete [] gain_buffer;
if (buffers) {
for (uint32_t i = 0; i < channels; ++i) {