40 std::vector<float> m_a;
45 std::vector<float> m_b;
58 IIRFilterReader(std::shared_ptr<IReader> reader,
const std::vector<float>& b,
const std::vector<float>& a);
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
float sample_t
Sample type.(float samples)
Definition Audaspace.h:126
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
The BaseIIRFilterReader class.
This class is a base class for infinite impulse response filters.
Definition BaseIIRFilterReader.h:33
This class is for infinite impulse response filters with simple coefficients.
Definition IIRFilterReader.h:35
IIRFilterReader(std::shared_ptr< IReader > reader, const std::vector< float > &b, const std::vector< float > &a)
Creates a new IIR filter reader.
void setCoefficients(const std::vector< float > &b, const std::vector< float > &a)
Sets new filter coefficients.
virtual sample_t filter()
Runs the filtering function.