|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Core::Engine::Init | ( | const GlobalStreamInfo & | streamInfo, |
| const GlobalGraphicsConfig & | graphics_config | ||
| ) |
Initializes the processing engine with custom stream and graphics configurations.
| streamInfo | Configuration for sample rate, buffer size, and channels |
| graphics_config | Configuration for graphics/windowing backend |
Configures the processing engine with the specified stream and graphics information. This method must be called before starting the engine.
Definition at line 82 of file Engine.cpp.
References MayaFlux::Core::GlobalStreamInfo::buffer_size, MayaFlux::Core::GlobalStreamInfo::ChannelConfig::channels, MayaFlux::Journal::Core, MayaFlux::Core::GlobalStreamInfo::ChannelConfig::enabled, MayaFlux::Journal::Init, MayaFlux::Core::GlobalStreamInfo::input, m_buffer_manager, m_event_manager, m_graphics_config, m_is_initialized, m_node_graph_manager, m_scheduler, m_stream_info, m_subsystem_manager, m_window_manager, MF_PRINT, MF_WARN, MayaFlux::Core::GlobalGraphicsConfig::NONE, MayaFlux::Core::GlobalStreamInfo::output, MayaFlux::Utils::RTAUDIO, MayaFlux::Core::GlobalStreamInfo::sample_rate, and MayaFlux::Core::GlobalGraphicsConfig::windowing_backend.