diff dsp/signalconditioning/DFProcess.cpp @ 283:5e125f030287

* Fixes to problems shown up by vamp-plugin-tester. Still not all plugins pass all tests, though
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 23 Mar 2009 16:28:53 +0000
parents 330c2e11f8a9
children 769da847732b
line wrap: on
line diff
--- a/dsp/signalconditioning/DFProcess.cpp	Fri Feb 27 13:07:22 2009 +0000
+++ b/dsp/signalconditioning/DFProcess.cpp	Mon Mar 23 16:28:53 2009 +0000
@@ -70,6 +70,8 @@
 
 void DFProcess::process(double *src, double* dst)
 {
+    if (m_length == 0) return;
+
     removeDCNormalize( src, filtSrc );
 
     m_FiltFilt->process( filtSrc, filtDst, m_length );