forked from bartvdbraak/blender
245345fba5
Implemented forgotten Calculator classes from boost migration.
21 lines
475 B
C++
21 lines
475 B
C++
#ifndef AUD_BUTTERWORTHCALCULATOR_H
|
|
#define AUD_BUTTERWORTHCALCULATOR_H
|
|
|
|
#include "AUD_IDynamicIIRFilterCalculator.h"
|
|
|
|
class AUD_ButterworthCalculator : public AUD_IDynamicIIRFilterCalculator
|
|
{
|
|
private:
|
|
/**
|
|
* The attack value in seconds.
|
|
*/
|
|
const float m_frequency;
|
|
|
|
public:
|
|
AUD_ButterworthCalculator(float frequency);
|
|
|
|
virtual void recalculateCoefficients(AUD_SampleRate rate, std::vector<float> &b, std::vector<float> &a);
|
|
};
|
|
|
|
#endif // AUD_BUTTERWORTHCALCULATOR_H
|