General-purpose offline renderer over a ProcessorFactory. More...
#include <offline_render_host.hpp>
Public Member Functions | |
| OfflineRenderHost (ProcessorFactory factory) | |
| bool | prepare (const OfflineRenderConfig &config) |
| bool | prepared () const noexcept |
| const OfflineRenderConfig & | config () const noexcept |
| OfflineRenderResult | render (const OfflineRenderOptions &options) |
| OfflineRenderResult | render (const OfflineRenderOptions &options, std::function< bool()> should_continue) |
| Versioned cancellation/deadline seam for control-thread callers. | |
| HeadlessHost & | headless () noexcept |
| const HeadlessHost & | headless () const noexcept |
General-purpose offline renderer over a ProcessorFactory.
This is intentionally layered above HeadlessHost rather than replacing it: HeadlessHost remains the one-block seam, while OfflineRenderHost owns multi-block stepping, final-block shortening, input silence padding, and sample-accurate event slicing. Callers must pass MIDI and parameter events sorted by absolute frame. Nested event sample offsets are ignored and rewritten relative to each process block.
|
explicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| bool pulp::format::OfflineRenderHost::prepare | ( | const OfflineRenderConfig & | config | ) |
|
inlinenoexcept |
| OfflineRenderResult pulp::format::OfflineRenderHost::render | ( | const OfflineRenderOptions & | options | ) |
| OfflineRenderResult pulp::format::OfflineRenderHost::render | ( | const OfflineRenderOptions & | options, |
| std::function< bool()> | should_continue ) |
Versioned cancellation/deadline seam for control-thread callers.
The guard runs before each process block; false stops without success.