From d68e077e4e7a8b98d0b0c5d8f661eaa129f3c691 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 19 Jan 2016 16:49:42 +0100 Subject: [PATCH] src/ofxAubioBlock.*: remove toSend cruft --- src/ofxAubioBlock.cpp | 9 --------- src/ofxAubioBlock.h | 3 --- 2 files changed, 12 deletions(-) diff --git a/src/ofxAubioBlock.cpp b/src/ofxAubioBlock.cpp index adcc3a6..8679e99 100644 --- a/src/ofxAubioBlock.cpp +++ b/src/ofxAubioBlock.cpp @@ -54,12 +54,3 @@ void ofxAubioBlock::audioIn(float * input, int bufferSize, int nChannels) } } } - -bool ofxAubioBlock::received() -{ - if (toSend) { - toSend = false; - return true; - } - return false; -} diff --git a/src/ofxAubioBlock.h b/src/ofxAubioBlock.h index 7e13c82..2d21ebd 100644 --- a/src/ofxAubioBlock.h +++ b/src/ofxAubioBlock.h @@ -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(); }; -- 2.11.0