Processor-reported prepared resource usage estimate.
More...
#include <prepare_resources.hpp>
Processor-reported prepared resource usage estimate.
This is a preflight/accounting surface, not an allocator. Values should represent storage that will be allocated or reserved during prepare(), plus fixed per-block scratch required by process(). Hosts can compare this with PrepareResourceLimits before committing a large prepare.
◆ total_bytes()
| std::size_t pulp::format::PrepareResourceUsage::total_bytes |
( |
| ) |
const |
|
inlinenoexcept |
◆ block_scratch_bytes
| std::size_t pulp::format::PrepareResourceUsage::block_scratch_bytes = 0 |
◆ block_size
| int pulp::format::PrepareResourceUsage::block_size = 0 |
◆ input_channels
| int pulp::format::PrepareResourceUsage::input_channels = 0 |
◆ midi_events
| int pulp::format::PrepareResourceUsage::midi_events = 0 |
◆ output_channels
| int pulp::format::PrepareResourceUsage::output_channels = 0 |
◆ parameter_events
| int pulp::format::PrepareResourceUsage::parameter_events = 0 |
◆ persistent_bytes
| std::size_t pulp::format::PrepareResourceUsage::persistent_bytes = 0 |
◆ voices
| int pulp::format::PrepareResourceUsage::voices = 0 |
The documentation for this struct was generated from the following file: