From 1598343b865b937d82d385ef449df471cadda99d Mon Sep 17 00:00:00 2001 From: Hannu Haahti Date: Thu, 25 Feb 2016 00:38:25 +0200 Subject: [PATCH] Remove a completely useless warning --- src/core/EffectChain.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/core/EffectChain.cpp b/src/core/EffectChain.cpp index d3af38573..f06cc04aa 100644 --- a/src/core/EffectChain.cpp +++ b/src/core/EffectChain.cpp @@ -223,20 +223,6 @@ bool EffectChain::processAudioBuffer( sampleFrame * _buf, const fpp_t _frames, b MixHelpers::sanitize( _buf, _frames ); } } - -#ifdef LMMS_DEBUG - for( int f = 0; f < _frames; ++f ) - { - if( fabs( _buf[f][0] ) > 5 || fabs( _buf[f][1] ) > 5 ) - { - it = m_effects.end()-1; - printf( "numerical overflow after processing " - "plugin \"%s\"\n", ( *it )-> - descriptor()->name); - break; - } - } -#endif } return moreEffects;