Audaspace:
[blender.git] / intern / audaspace / FX / AUD_ButterworthFactory.h
index 12d28eb40383740eafa3e75c4142b9581f11c137..3a86b14a7a6cfda25a1bf2d484457c7511db64ed 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * ***** BEGIN GPL LICENSE BLOCK *****
  *
  * Copyright 2009-2011 Jörg Hermann Müller
@@ -29,8 +27,8 @@
  */
 
 
-#ifndef AUD_BUTTERWORTHFACTORY
-#define AUD_BUTTERWORTHFACTORY
+#ifndef __AUD_BUTTERWORTHFACTORY_H__
+#define __AUD_BUTTERWORTHFACTORY_H__
 
 #include "AUD_DynamicIIRFilterFactory.h"
 
 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__