src/ofxAubioBlock.*: remove toSend cruft
authorPaul Brossier <piem@piem.org>
Tue, 19 Jan 2016 15:49:42 +0000 (16:49 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 19 Jan 2016 15:49:42 +0000 (16:49 +0100)
src/ofxAubioBlock.cpp
src/ofxAubioBlock.h

index adcc3a6..8679e99 100644 (file)
@@ -54,12 +54,3 @@ void ofxAubioBlock::audioIn(float * input, int bufferSize, int nChannels)
         }
     }
 }
-
-bool ofxAubioBlock::received()
-{
-    if (toSend) {
-        toSend = false;
-        return true;
-    }
-    return false;
-}
index 7e13c82..2d21ebd 100644 (file)
@@ -34,9 +34,6 @@ class ofxAubioBlock {
         void cleanup();
         virtual void blockAudioIn() {};
 
-        bool toSend = false;
-
     public:
         void audioIn(float *input, int bufferSize, int nChannels);
-        bool received();
 };