3D Audio GSoC:
[blender.git] / intern / audaspace / intern / AUD_LinearResampleFactory.h
index 678aa0b80cb06a5a84cc2ce1b48d34cbe5cbfdc2..6fb101aa70800f988748eaf0214cd65a2d51dd67 100644 (file)
 #ifndef AUD_LINEARRESAMPLEFACTORY
 #define AUD_LINEARRESAMPLEFACTORY
 
-#include "AUD_ResampleFactory.h"
+#include "AUD_MixerFactory.h"
 
 /**
  * This factory creates a resampling reader that does simple linear resampling.
  */
-class AUD_LinearResampleFactory : public AUD_ResampleFactory
+class AUD_LinearResampleFactory : public AUD_MixerFactory
 {
 private:
        // hide copy constructor and operator=
@@ -45,9 +45,14 @@ private:
        AUD_LinearResampleFactory& operator=(const AUD_LinearResampleFactory&);
 
 public:
-       AUD_LinearResampleFactory(AUD_IFactory* factory, AUD_DeviceSpecs specs);
-
-       virtual AUD_IReader* createReader() const;
+       /**
+        * Creates a new factory.
+        * \param factory The input factory.
+        * \param specs The target specifications.
+        */
+       AUD_LinearResampleFactory(AUD_Reference<AUD_IFactory> factory, AUD_DeviceSpecs specs);
+
+       virtual AUD_Reference<AUD_IReader> createReader();
 };
 
 #endif //AUD_LINEARRESAMPLEFACTORY