Support planar sample formats in audio mixdown
[blender.git] / intern / audaspace / ffmpeg / AUD_FFMPEGWriter.h
index 743d885fca8c837a5418f31ff7ffd88870e0b14f..492aa35ff12e791705579e28d20849d1233aa322 100644 (file)
@@ -90,7 +90,14 @@ private:
        /**
         * Number of bytes per sample.
         */
-       int m_audio_sample_size;
+       int m_sample_size;
+
+       /**
+        * Need to de-interleave audio for planar sample formats.
+        */
+       bool m_deinterleave;
+
+       AUD_Buffer m_deinterleave_buffer;
 
        /**
         * The input buffer for the format converted data before encoding.