src/ofxAubioOnset.cpp: remove unused toSend
authorPaul Brossier <piem@piem.org>
Tue, 19 Jan 2016 15:49:04 +0000 (16:49 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 19 Jan 2016 15:49:04 +0000 (16:49 +0100)
src/ofxAubioOnset.cpp

index 3e1b1d6..06f32a6 100644 (file)
@@ -58,7 +58,6 @@ void ofxAubioOnset::blockAudioIn()
 {
     aubio_onset_do(onset, aubio_input, aubio_output);
     if (aubio_output->data[0]) {
-        toSend = true;
         //ofLogNotice() << "found onset";
         float last_onset = aubio_onset_get_last_s(onset);
         ofNotifyEvent(gotOnset, last_onset, this);