#include <core/producer/frame/basic_frame.h>\r
#include <core/video_format.h>\r
#include <core/mixer/audio/audio_mixer.h>\r
+#include <core/mixer/audio/audio_util.h>\r
\r
#include <boost/noncopyable.hpp>\r
#include <boost/range/iterator_range.hpp>\r
class write_frame : public core::basic_frame, boost::noncopyable\r
{\r
public: \r
- explicit write_frame(const void* tag);\r
- explicit write_frame(const safe_ptr<ogl_device>& ogl, const void* tag, const core::pixel_format_desc& desc);\r
+ explicit write_frame(const void* tag, const channel_layout& channel_layout);\r
+ explicit write_frame(const safe_ptr<ogl_device>& ogl, const void* tag, const core::pixel_format_desc& desc, const channel_layout& channel_layout);\r
\r
write_frame(const write_frame& other);\r
write_frame(write_frame&& other);\r
const void* tag() const;\r
\r
const core::pixel_format_desc& get_pixel_format_desc() const;\r
+ const channel_layout& get_channel_layout() const;\r
+ multichannel_view<int32_t, audio_buffer::iterator> get_multichannel_view();\r
\r
private:\r
friend class image_mixer;\r