Audaspace:
[blender.git] / intern / audaspace / FX / AUD_ButterworthFactory.h
index 16d0b3dbc23a0b4d0cec3a3d79c3dac24ac3170f..3a86b14a7a6cfda25a1bf2d484457c7511db64ed 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * ***** BEGIN GPL LICENSE BLOCK *****
  *
  * Copyright 2009-2011 Jörg Hermann Müller
  */
 
 
-#ifndef AUD_BUTTERWORTHFACTORY
-#define AUD_BUTTERWORTHFACTORY
+#ifndef __AUD_BUTTERWORTHFACTORY_H__
+#define __AUD_BUTTERWORTHFACTORY_H__
 
 #include "AUD_DynamicIIRFilterFactory.h"
 
 /**
- * This factory creates a butterworth filter reader.
+ * This factory creates a butterworth lowpass filter reader.
  */
 class AUD_ButterworthFactory : public AUD_DynamicIIRFilterFactory
 {
 private:
-       /**
-        * The attack value in seconds.
-        */
-       const float m_frequency;
-
        // hide copy constructor and operator=
        AUD_ButterworthFactory(const AUD_ButterworthFactory&);
        AUD_ButterworthFactory& operator=(const AUD_ButterworthFactory&);
@@ -55,11 +48,7 @@ public:
         * \param factory The input factory.
         * \param frequency The cutoff frequency.
         */
-       AUD_ButterworthFactory(AUD_Reference<AUD_IFactory> factory, float frequency);
-
-       virtual void recalculateCoefficients(AUD_SampleRate rate,
-                                                                                std::vector<float>& b,
-                                                                                std::vector<float>& a);
+       AUD_ButterworthFactory(boost::shared_ptr<AUD_IFactory> factory, float frequency);
 };
 
-#endif //AUD_BUTTERWORTHFACTORY
+#endif //__AUD_BUTTERWORTHFACTORY_H__