Mercurial > hg > qm-dsp
comparison dsp/signalconditioning/DFProcess.cpp @ 58:d72fcd34d9a7
* Fixes to problems shown up by vamp-plugin-tester.
Still not all plugins pass all tests, though
author | cannam |
---|---|
date | Mon, 23 Mar 2009 16:28:53 +0000 |
parents | 38bf09927942 |
children | 769da847732b |
comparison
equal
deleted
inserted
replaced
57:d241e7701c0c | 58:d72fcd34d9a7 |
---|---|
68 delete m_FiltFilt; | 68 delete m_FiltFilt; |
69 } | 69 } |
70 | 70 |
71 void DFProcess::process(double *src, double* dst) | 71 void DFProcess::process(double *src, double* dst) |
72 { | 72 { |
73 if (m_length == 0) return; | |
74 | |
73 removeDCNormalize( src, filtSrc ); | 75 removeDCNormalize( src, filtSrc ); |
74 | 76 |
75 m_FiltFilt->process( filtSrc, filtDst, m_length ); | 77 m_FiltFilt->process( filtSrc, filtDst, m_length ); |
76 | 78 |
77 medianFilter( filtDst, dst ); | 79 medianFilter( filtDst, dst ); |