9 #ifndef _LIB_ALMATH_ALMATH_DSP_DIGITALFILTER_H_
10 #define _LIB_ALMATH_ALMATH_DSP_DIGITALFILTER_H_
13 #include <boost/circular_buffer.hpp>
38 const std::vector<float> & pWeightsOut,
53 boost::circular_buffer<float> fFilterBufferIn;
54 boost::circular_buffer<float> fFilterBufferOut;
58 std::vector<float> fFilterWeightsIn;
59 std::vector<float> fFilterWeightsOut;
70 #endif // _LIB_ALMATH_ALMATH_DSP_DIGITALFILTER_H_
float processFilter(float pInputData)
Process a step of the filter.
void resetFilter()
Reset the processing of the filter.
void configureFilter(const std::vector< float > &pWeightsIn, const std::vector< float > &pWeightsOut, float pDcGain)
Configure the digital filter.