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

Snapshot-owned payload and descriptors; callback borrows never own storage. More...

#include <spectral_frame.hpp>

Public Attributes

std::span< SpectralFrameStamp > stamps
std::span< std::complex< float > > bins
std::uint32_t count = 0
std::uint32_t bins_per_frame = 0
SpectralFrameContract contract
std::array< std::uint8_t, SpectralFrameContract::encoded_size > encoded_contract {}
 Canonical wire identity copied at publication.
bool fatal = false
std::int64_t fatal_origin = 0

Detailed Description

Snapshot-owned payload and descriptors; callback borrows never own storage.

Member Data Documentation

◆ bins

std::span<std::complex<float> > pulp::graph::SpectralFrameBatchView::bins

◆ bins_per_frame

std::uint32_t pulp::graph::SpectralFrameBatchView::bins_per_frame = 0

◆ contract

SpectralFrameContract pulp::graph::SpectralFrameBatchView::contract

◆ count

std::uint32_t pulp::graph::SpectralFrameBatchView::count = 0

◆ encoded_contract

std::array<std::uint8_t, SpectralFrameContract::encoded_size> pulp::graph::SpectralFrameBatchView::encoded_contract {}

Canonical wire identity copied at publication.

Consumers validate this boundary before reading any frame payload, so mutating either the decoded fields or the encoded bytes fails closed.

◆ fatal

bool pulp::graph::SpectralFrameBatchView::fatal = false

◆ fatal_origin

std::int64_t pulp::graph::SpectralFrameBatchView::fatal_origin = 0

◆ stamps

std::span<SpectralFrameStamp> pulp::graph::SpectralFrameBatchView::stamps

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