Mercurial > hg > qm-dsp
diff dsp/signalconditioning/FiltFilt.h @ 506:285f18c0992a
Tests and fixes for FiltFilt: Fix overrun; reset filter between forwards and backwards processes
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 05 Jun 2019 15:50:38 +0100 |
parents | b1f72e469ec8 |
children |
line wrap: on
line diff
--- a/dsp/signalconditioning/FiltFilt.h Wed Jun 05 12:55:15 2019 +0100 +++ b/dsp/signalconditioning/FiltFilt.h Wed Jun 05 15:50:38 2019 +0100 @@ -28,8 +28,9 @@ FiltFilt(Filter::Parameters); virtual ~FiltFilt(); - void reset(); - void process(double* src, double* dst, int length); + void process(const double *const QM_R__ src, + double *const QM_R__ dst, + const int length); private: Filter m_filter;