MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ create_buffer_pipeline() [2/2]

MAYAFLUX_API std::shared_ptr< Kriya::BufferPipeline > MayaFlux::create_buffer_pipeline ( std::shared_ptr< IO::IOManager >  io_manager)

Creates a buffer pipeline that can reach an IOManager.

Parameters
io_managerIOManager the pipeline uses to display stream routes
Returns
Shared pointer to the created BufferPipeline

Needed only for operations that open a display on a video stream, such as route_to_container with a render config. Pipelines made without it, audio ones included, carry no IOManager.

Definition at line 142 of file Chronie.cpp.

143{
144 return Kriya::BufferPipeline::create(*get_scheduler(), get_context().get_buffer_manager(), std::move(io_manager));
145}
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:148
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:101
std::shared_ptr< Vruta::TaskScheduler > get_scheduler()
Gets the task scheduler from the default engine.
Definition Chronie.cpp:22

References MayaFlux::Kriya::BufferPipeline::create(), get_buffer_manager(), get_context(), and get_scheduler().

+ Here is the call graph for this function: