#pragma once
#include <common/memory.h>
-#include <common/reactive.h>
#include <common/forward.h>
+#include "fwd.h"
+
#include "monitor/monitor.h"
#include <boost/property_tree/ptree_fwd.hpp>
-FORWARD3(caspar, core, ogl, class accelerator);
-FORWARD2(caspar, core, class stage);
-FORWARD2(caspar, core, class mixer);
-FORWARD2(caspar, core, class output);
-FORWARD2(caspar, core, class image_mixer);
-FORWARD2(caspar, core, struct video_format_desc);
-FORWARD2(caspar, core, class frame_factory);
-
namespace caspar { namespace core {
class video_channel final
// Constructors
- explicit video_channel(int index, const video_format_desc& format_desc, std::unique_ptr<image_mixer> image_mixer);
+ explicit video_channel(
+ int index,
+ const video_format_desc& format_desc,
+ const audio_channel_layout& channel_layout,
+ std::unique_ptr<image_mixer> image_mixer);
~video_channel();
// Methods
core::video_format_desc video_format_desc() const;
void video_format_desc(const core::video_format_desc& format_desc);
+ core::audio_channel_layout audio_channel_layout() const;
+ void audio_channel_layout(const core::audio_channel_layout& channel_layout);
spl::shared_ptr<core::frame_factory> frame_factory();
boost::property_tree::wptree info() const;
+ boost::property_tree::wptree delay_info() const;
int index() const;
private:
struct impl;