Optional prepare-time resource caps supplied by a host or test harness. More...
#include <prepare_resources.hpp>
Public Attributes | |
| std::size_t | max_persistent_bytes = 0 |
| std::size_t | max_block_scratch_bytes = 0 |
| std::size_t | max_total_bytes = 0 |
| int | max_block_size = 0 |
| int | max_input_channels = 0 |
| int | max_output_channels = 0 |
| int | max_parameter_events = 0 |
| int | max_midi_events = 0 |
| int | max_voices = 0 |
Optional prepare-time resource caps supplied by a host or test harness.
A zero field means "unlimited/unspecified" so existing hosts preserve their historical behavior. Processors that know their prepared working set can use these caps to fail closed before allocating oversized scratch, sample caches, event rings, or voice pools.
| std::size_t pulp::format::PrepareResourceLimits::max_block_scratch_bytes = 0 |
| int pulp::format::PrepareResourceLimits::max_block_size = 0 |
| int pulp::format::PrepareResourceLimits::max_input_channels = 0 |
| int pulp::format::PrepareResourceLimits::max_midi_events = 0 |
| int pulp::format::PrepareResourceLimits::max_output_channels = 0 |
| int pulp::format::PrepareResourceLimits::max_parameter_events = 0 |
| std::size_t pulp::format::PrepareResourceLimits::max_persistent_bytes = 0 |
| std::size_t pulp::format::PrepareResourceLimits::max_total_bytes = 0 |
| int pulp::format::PrepareResourceLimits::max_voices = 0 |