]> git.sesse.net Git - casparcg/blobdiff - core/mixer/read_frame.h
2.0. audio: Audio pipeline is now in 32 bit.
[casparcg] / core / mixer / read_frame.h
index 35ae10432fad495e5a997b8318fd722b734dd62f..a3afc36cd14b22d255008618067635d818aa2b17 100644 (file)
@@ -37,10 +37,12 @@ class read_frame : boost::noncopyable
 {\r
 public:\r
        read_frame();\r
-       read_frame(ogl_device& ogl, safe_ptr<host_buffer>&& image_data, std::vector<int16_t>&& audio_data);\r
+       read_frame(ogl_device& ogl, size_t size, safe_ptr<host_buffer>&& image_data, std::vector<int32_t>&& audio_data);\r
 \r
        virtual const boost::iterator_range<const uint8_t*> image_data();\r
-       virtual const boost::iterator_range<const int16_t*> audio_data();\r
+       virtual const boost::iterator_range<const int32_t*> audio_data();\r
+\r
+       virtual size_t image_size() const;\r
                \r
 private:\r
        struct implementation;\r