Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-12-10 21:05:33 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-12-10 21:05:33 +0400
commitdecffdc556794541ba0a724c9d4eff052e6a53b5 (patch)
treefb7c6b8eaac7916b387e929f972da150f8ac6d39 /intern/audaspace/FX/AUD_LowpassCalculator.h
parent14d3870c2fc51670856a56d2ed3aa759d91d4d78 (diff)
parent245345fba5f44b5c8562c826ca0053fa5bbd2ff3 (diff)
Merging r52851 through r52858 from trunk into blender-2.65-release
Diffstat (limited to 'intern/audaspace/FX/AUD_LowpassCalculator.h')
-rw-r--r--intern/audaspace/FX/AUD_LowpassCalculator.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/intern/audaspace/FX/AUD_LowpassCalculator.h b/intern/audaspace/FX/AUD_LowpassCalculator.h
new file mode 100644
index 00000000000..18bb11feda7
--- /dev/null
+++ b/intern/audaspace/FX/AUD_LowpassCalculator.h
@@ -0,0 +1,25 @@
+#ifndef AUD_LOWPASSCALCULATOR_H
+#define AUD_LOWPASSCALCULATOR_H
+
+#include "AUD_IDynamicIIRFilterCalculator.h"
+
+class AUD_LowpassCalculator : public AUD_IDynamicIIRFilterCalculator
+{
+private:
+ /**
+ * The cutoff frequency.
+ */
+ const float m_frequency;
+
+ /**
+ * The Q factor.
+ */
+ const float m_Q;
+
+public:
+ AUD_LowpassCalculator(float frequency, float Q);
+
+ virtual void recalculateCoefficients(AUD_SampleRate rate, std::vector<float> &b, std::vector<float> &a);
+};
+
+#endif // AUD_LOWPASSCALCULATOR_H