]> git.sesse.net Git - casparcg/blobdiff - modules/oal/consumer/oal_consumer.h
Created a consumer that provides sync to a channel based on the pace of another chann...
[casparcg] / modules / oal / consumer / oal_consumer.h
index e9f956bc517e0a1f76c9af75bc25bb5cb72adb22..a688d10948589e3efbdeca48118a223a084320f7 100644 (file)
 
 #include <common/memory.h>
 
-#include <core/video_format.h>
+#include <core/fwd.h>
 
 #include <vector>
 
-namespace caspar { 
+#include <boost/property_tree/ptree_fwd.hpp>
 
-namespace core {
-       class frame_consumer;
-}      
+namespace caspar { namespace oal {
 
-namespace oal {
-       
-spl::shared_ptr<core::frame_consumer> create_consumer(const std::vector<std::wstring>& params);
-spl::shared_ptr<core::frame_consumer> create_consumer();
+void describe_consumer(core::help_sink& sink, const core::help_repository& repo);
+spl::shared_ptr<core::frame_consumer> create_consumer(
+               const std::vector<std::wstring>& params, core::interaction_sink*, std::vector<spl::shared_ptr<core::video_channel>> channels);
+spl::shared_ptr<core::frame_consumer> create_preconfigured_consumer(
+               const boost::property_tree::wptree&, core::interaction_sink*, std::vector<spl::shared_ptr<core::video_channel>> channels);
 
-}}
\ No newline at end of file
+}}