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

Already decoded two-part state. More...

#include <processor_restore.hpp>

Public Attributes

std::uint32_t node_id = 0
ProcessorTypeKey type
int state_schema_version = 1
int input_channels = 0
int output_channels = 0
std::span< const std::uint8_t > parameters
std::span< const std::uint8_t > custom

Detailed Description

Already decoded two-part state.

The caller owns these spans for the duration of restore_batch(). An eventual file reader must bound encoded input BEFORE decoding; these limits do not make an unbounded decoder safe.

Member Data Documentation

◆ custom

std::span<const std::uint8_t> pulp::host::ProcessorRestoreRecord::custom

◆ input_channels

int pulp::host::ProcessorRestoreRecord::input_channels = 0

◆ node_id

std::uint32_t pulp::host::ProcessorRestoreRecord::node_id = 0

◆ output_channels

int pulp::host::ProcessorRestoreRecord::output_channels = 0

◆ parameters

std::span<const std::uint8_t> pulp::host::ProcessorRestoreRecord::parameters

◆ state_schema_version

int pulp::host::ProcessorRestoreRecord::state_schema_version = 1

◆ type

ProcessorTypeKey pulp::host::ProcessorRestoreRecord::type

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