File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,6 @@ void MultiDetector::process(AudioSampleBuffer& buffer)
185185 // Use globalSample so it is not relative to the buffer
186186 globalSample = 0 ;
187187
188-
189188 if (isCalibration == true ) {
190189
191190 elapsedCalibration++;
@@ -228,7 +227,6 @@ void MultiDetector::process(AudioSampleBuffer& buffer)
228227 // std::cout << "Sample: " << sample << " Downsample: " << sample/downsampleFactor << " Time: " << (unsigned int)(1000.f * float(tsBuffer + sample) / samplingRate) << std::endl;
229228 // std::cout << "Write: " << roundBufferWriteIndex << " Read: " << roundBufferReadIndex << std::endl;
230229
231-
232230 unsigned int temporalReadIndex = roundBufferReadIndex;
233231 unsigned int oldRoundBufferReadIndex = roundBufferReadIndex;
234232 // Next value to read will be the first upcoming window after stride, if no event is found
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ namespace MultiDetectorSpace
133133 unsigned int roundBufferNumElements;
134134
135135 std::vector<float > predictBuffer;
136- float predictBufferSum[NUM_CHANNELS] ;
136+ std::vector< float > predictBufferSum;
137137 unsigned int predictBufferSize;
138138 int effectiveStride;
139139 float thrDrift;
You can’t perform that action at this time.
0 commit comments