]> git.sesse.net Git - casparcg/blobdiff - protocol/amcp/amcp_command_repository.h
Use ScheduledFrameCompleted callback for audio scheduling in addition to video schedu...
[casparcg] / protocol / amcp / amcp_command_repository.h
index daa2f7b3c5496b0b7bc3a1e9b603f169dce8d890..778c99845dcf1e20d420255d94f316d30fc3a364 100644 (file)
@@ -43,15 +43,18 @@ public:
                        const spl::shared_ptr<core::system_info_provider_repository>& system_info_provider_repo,
                        const spl::shared_ptr<core::cg_producer_registry>& cg_registry,
                        const spl::shared_ptr<core::help_repository>& help_repo,
+                       const spl::shared_ptr<const core::frame_producer_registry>& producer_registry,
+                       const spl::shared_ptr<const core::frame_consumer_registry>& consumer_registry,
+                       const std::shared_ptr<accelerator::ogl::device>& ogl_device,
                        std::promise<bool>& shutdown_server_now);
 
-       AMCPCommand::ptr_type create_command(const std::wstring& s, IO::ClientInfoPtr client, std::list<std::wstring>& tokens);
+       AMCPCommand::ptr_type create_command(const std::wstring& s, IO::ClientInfoPtr client, std::list<std::wstring>& tokens) const;
        AMCPCommand::ptr_type create_channel_command(
                        const std::wstring& s,
                        IO::ClientInfoPtr client,
                        unsigned int channel_index,
                        int layer_index,
-                       std::list<std::wstring>& tokens);
+                       std::list<std::wstring>& tokens) const;
 
        const std::vector<channel_context>& channels() const;