Audio file loading backend libsndfile!
[blender.git] / intern / audaspace / ffmpeg / AUD_FFMPEGFactory.h
index 0a9fcc22c8b0ef3731cea8020883cbffce6d3c3a..22560303a738c3e4e57d3ab217daff5bc7c226cf 100644 (file)
@@ -27,6 +27,8 @@
 #define AUD_FFMPEGFACTORY
 
 #include "AUD_IFactory.h"
+#include "AUD_Reference.h"
+class AUD_Buffer;
 
 /**
  * This factory reads a sound file via ffmpeg.
@@ -44,12 +46,7 @@ private:
        /**
         * The buffer to read from.
         */
-       unsigned char* m_buffer;
-
-       /**
-        * The size of the buffer.
-        */
-       int m_size;
+       AUD_Reference<AUD_Buffer> m_buffer;
 
 public:
        /**