9 #ifndef _LIB_ALMATH_ALMATH_DSP_DIGITALFILTER_H_
10 #define _LIB_ALMATH_ALMATH_DSP_DIGITALFILTER_H_
13 #include <almath/api.h>
14 #include <boost/version.hpp>
15 #if (BOOST_VERSION < 106200) && !defined(BOOST_CB_DISABLE_DEBUG)
16 # define BOOST_CB_DISABLE_DEBUG
18 #include <boost/circular_buffer.hpp>
42 void configureFilter(
const std::vector<float> & pWeightsIn,
43 const std::vector<float> & pWeightsOut,
55 float processFilter(
float pInputData);
58 boost::circular_buffer<float> fFilterBufferIn;
59 boost::circular_buffer<float> fFilterBufferOut;
63 std::vector<float> fFilterWeightsIn;
64 std::vector<float> fFilterWeightsOut;
74 #endif // _LIB_ALMATH_ALMATH_DSP_DIGITALFILTER_H_