From 1d2d81d7a0b05d6ce14edd7c228f2026755140f1 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 5 Apr 2013 17:07:21 +0100 Subject: making audio analysis adapter --- rotord/vampHost.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'rotord/vampHost.cpp') diff --git a/rotord/vampHost.cpp b/rotord/vampHost.cpp index e28419c..2521f46 100644 --- a/rotord/vampHost.cpp +++ b/rotord/vampHost.cpp @@ -643,7 +643,6 @@ bool vampHost::Analyser::init(const string &soname,const string &id,const int &_ currentStep = 0; finalStepsRemaining = max(1, (blockSize / stepSize) - 1); // at end of file, this many part-silent frames needed after we hit EOF - filebuf = new float[blockSize * channels]; plugbuf = new float*[channels]; for (int c = 0; c < channels; ++c) plugbuf[c] = new float[blockSize + 2]; @@ -742,7 +741,6 @@ void vampHost::Analyser::process_frame(uint8_t *data,int samples_in_frame){ } } void vampHost::Analyser::cleanup(){ - delete[] filebuf; for (int c = 0; c < channels; ++c) { delete[] plugbuf[c]; } -- cgit v1.2.3