Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
processor_block_adapter.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <array>
7
8namespace pulp::format {
9
21 // Per-bus views handed to Processor::process(). Each call overwrites only
22 // the entries for the block's buses, so a graph node does not construct
23 // BusBufferSet::kMaxBuses views per direction on every block.
24 std::array<ProcessBusBufferView<const float>, BusBufferSet::kMaxBuses> input_views{};
25 std::array<ProcessBusBufferView<float>, BusBufferSet::kMaxBuses> output_views{};
26};
27
36 ProcessBlock& block,
37 ProcessorBlockAdapterScratch& scratch) noexcept;
38
39} // namespace pulp::format
static constexpr std::size_t kMaxBuses
Definition process_block.hpp:148
Definition processor.hpp:174
Collection of timestamped MIDI events within a single audio buffer period.
Definition buffer.hpp:31
Definition parameter_event_queue.hpp:82
What the product grants a device: the quota table indexed by capability tier and live thermal state.
Definition aax_editor.hpp:31
bool process_processor_block(Processor &processor, ProcessBlock &block, ProcessorBlockAdapterScratch &scratch) noexcept
Invoke the legacy Processor::process() API from a ProcessBlock.
Additive block-scoped process contract.
Definition process_block.hpp:517
Caller-owned fallback storage for process_processor_block().
Definition processor_block_adapter.hpp:17
midi::MidiBuffer fallback_midi_out
Definition processor_block_adapter.hpp:19
state::ParameterEventQueue empty_parameter_events
Definition processor_block_adapter.hpp:20
std::array< ProcessBusBufferView< const float >, BusBufferSet::kMaxBuses > input_views
Definition processor_block_adapter.hpp:24
std::array< ProcessBusBufferView< float >, BusBufferSet::kMaxBuses > output_views
Definition processor_block_adapter.hpp:25
midi::MidiBuffer fallback_midi_in
Definition processor_block_adapter.hpp:18