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

Non-owning view of all sparse events visible to one process block. More...

#include <process_block.hpp>

Public Member Functions

std::span< const state::ParameterEvent > parameters () const noexcept
std::size_t parameter_event_count () const noexcept
std::size_t midi_input_event_count () const noexcept
std::size_t midi_output_event_count () const noexcept
std::size_t audio_rate_modulation_count () const noexcept
std::size_t sysex_event_count () const noexcept
bool empty () const noexcept

Public Attributes

const state::ParameterEventQueue * parameter_events = nullptr
midi::MidiBuffer * midi_in = nullptr
midi::MidiBuffer * midi_out = nullptr
const midi::MpeBuffer * mpe_input = nullptr
const midi::UmpBuffer * ump_input = nullptr
EventDropCounters drops
std::span< const AudioRateModulationView > audio_rate_modulations

Detailed Description

Non-owning view of all sparse events visible to one process block.

The event containers are owned by adapters or test harnesses. Overflow/drop counters are explicit so realtime code can report bounded-capacity loss without logging or allocating from the audio callback.

Member Function Documentation

◆ audio_rate_modulation_count()

std::size_t pulp::format::EventBlock::audio_rate_modulation_count ( ) const
inlinenoexcept

◆ empty()

bool pulp::format::EventBlock::empty ( ) const
inlinenoexcept

◆ midi_input_event_count()

std::size_t pulp::format::EventBlock::midi_input_event_count ( ) const
inlinenoexcept

◆ midi_output_event_count()

std::size_t pulp::format::EventBlock::midi_output_event_count ( ) const
inlinenoexcept

◆ parameter_event_count()

std::size_t pulp::format::EventBlock::parameter_event_count ( ) const
inlinenoexcept

◆ parameters()

std::span< const state::ParameterEvent > pulp::format::EventBlock::parameters ( ) const
inlinenoexcept

◆ sysex_event_count()

std::size_t pulp::format::EventBlock::sysex_event_count ( ) const
inlinenoexcept

Member Data Documentation

◆ audio_rate_modulations

std::span<const AudioRateModulationView> pulp::format::EventBlock::audio_rate_modulations

◆ drops

EventDropCounters pulp::format::EventBlock::drops

◆ midi_in

midi::MidiBuffer* pulp::format::EventBlock::midi_in = nullptr

◆ midi_out

midi::MidiBuffer* pulp::format::EventBlock::midi_out = nullptr

◆ mpe_input

const midi::MpeBuffer* pulp::format::EventBlock::mpe_input = nullptr

◆ parameter_events

const state::ParameterEventQueue* pulp::format::EventBlock::parameter_events = nullptr

◆ ump_input

const midi::UmpBuffer* pulp::format::EventBlock::ump_input = nullptr

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