From eff6bbe953c9a6e296879b0515ebb0c2a851afdc Mon Sep 17 00:00:00 2001
From: jsiegle <jsiegle@mit.edu>
Date: Thu, 8 Aug 2013 20:26:46 -0400
Subject: [PATCH] Remove for loop before addSpikeEvent

---
 Source/Processors/SpikeDetector.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Source/Processors/SpikeDetector.cpp b/Source/Processors/SpikeDetector.cpp
index e557e0871..208ccc2c3 100755
--- a/Source/Processors/SpikeDetector.cpp
+++ b/Source/Processors/SpikeDetector.cpp
@@ -466,7 +466,7 @@ void SpikeDetector::process(AudioSampleBuffer& buffer,
 
                         }
 
-                        for (int xxx = 0; xxx < 100; xxx++) // overload with spikes
+                       // for (int xxx = 0; xxx < 100; xxx++) // overload with spikes for testing purposes
                             addSpikeEvent(&newSpike, events, peakIndex);
 
                         // advance the sample index
-- 
GitLab