Merge with trunk r37757.
[blender.git] / intern / audaspace / intern / AUD_ChannelMapperFactory.h
index f4cc602d0516bd45780bdbd408591c4f2f6ca4f9..ce43c6462de29ed8e9d1cb3c3458a80646603a80 100644 (file)
  * ***** END GPL LICENSE BLOCK *****
  */
 
+/** \file audaspace/intern/AUD_ChannelMapperFactory.h
+ *  \ingroup audaspaceintern
+ */
+
+
 #ifndef AUD_CHANNELMAPPERFACTORY
 #define AUD_CHANNELMAPPERFACTORY
 
 class AUD_ChannelMapperFactory : public AUD_MixerFactory
 {
 private:
-       /**
-        * The mapping specification.
-        */
-       float **m_mapping[9];
-
        // hide copy constructor and operator=
        AUD_ChannelMapperFactory(const AUD_ChannelMapperFactory&);
        AUD_ChannelMapperFactory& operator=(const AUD_ChannelMapperFactory&);
 
 public:
-       AUD_ChannelMapperFactory(AUD_IFactory* factory, AUD_DeviceSpecs specs);
-
-       virtual ~AUD_ChannelMapperFactory();
-
-       /**
-        * Returns the mapping array for editing.
-        * \param ic The count of input channels the array should have.
-        * \note The count of output channels is read of the desired output specs.
-        */
-       float** getMapping(int ic);
-
-       /**
-        * Deletes the current channel mapping.
-        */
-       void deleteMapping(int ic);
+       AUD_ChannelMapperFactory(AUD_Reference<AUD_IFactory> factory, AUD_DeviceSpecs specs);
 
-       virtual AUD_IReader* createReader() const;
+       virtual AUD_Reference<AUD_IReader> createReader();
 };
 
 #endif //AUD_CHANNELMAPPERFACTORY