Mercurial > hg > qm-dsp
comparison 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 |
comparison
equal
deleted
inserted
replaced
505:930b5b0f707d | 506:285f18c0992a |
---|---|
26 { | 26 { |
27 public: | 27 public: |
28 FiltFilt(Filter::Parameters); | 28 FiltFilt(Filter::Parameters); |
29 virtual ~FiltFilt(); | 29 virtual ~FiltFilt(); |
30 | 30 |
31 void reset(); | 31 void process(const double *const QM_R__ src, |
32 void process(double* src, double* dst, int length); | 32 double *const QM_R__ dst, |
33 const int length); | |
33 | 34 |
34 private: | 35 private: |
35 Filter m_filter; | 36 Filter m_filter; |
36 int m_ord; | 37 int m_ord; |
37 }; | 38 }; |