Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::PrepareResourceLimits Struct Reference

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

Detailed Description

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.

Member Data Documentation

◆ max_block_scratch_bytes

std::size_t pulp::format::PrepareResourceLimits::max_block_scratch_bytes = 0

◆ max_block_size

int pulp::format::PrepareResourceLimits::max_block_size = 0

◆ max_input_channels

int pulp::format::PrepareResourceLimits::max_input_channels = 0

◆ max_midi_events

int pulp::format::PrepareResourceLimits::max_midi_events = 0

◆ max_output_channels

int pulp::format::PrepareResourceLimits::max_output_channels = 0

◆ max_parameter_events

int pulp::format::PrepareResourceLimits::max_parameter_events = 0

◆ max_persistent_bytes

std::size_t pulp::format::PrepareResourceLimits::max_persistent_bytes = 0

◆ max_total_bytes

std::size_t pulp::format::PrepareResourceLimits::max_total_bytes = 0

◆ max_voices

int pulp::format::PrepareResourceLimits::max_voices = 0

The documentation for this struct was generated from the following file: