diff --git a/include/EffectChain.h b/include/EffectChain.h index 620caa427..cb2d817ea 100644 --- a/include/EffectChain.h +++ b/include/EffectChain.h @@ -55,7 +55,6 @@ public: void moveUp( Effect * _effect ); bool processAudioBuffer( sampleFrame * _buf, const fpp_t _frames, bool hasInputNoise ); void startRunning(); - bool isRunning(); void clear(); diff --git a/src/core/EffectChain.cpp b/src/core/EffectChain.cpp index 83268950e..54ef54bc5 100644 --- a/src/core/EffectChain.cpp +++ b/src/core/EffectChain.cpp @@ -237,26 +237,6 @@ void EffectChain::startRunning() -bool EffectChain::isRunning() -{ - if( m_enabledModel.value() == false ) - { - return false; - } - - bool running = false; - - for( EffectList::Iterator it = m_effects.begin(); - it != m_effects.end() || !running; it++ ) - { - running = ( *it )->isRunning() && running; - } - return running; -} - - - - void EffectChain::clear() { emit aboutToClear();