8class TimelineAutomationDelivery;
15class SnapshotParameterIngressPasskey {
16 SnapshotParameterIngressPasskey() =
default;
26 explicit operator bool() const noexcept {
return snapshot_ !=
nullptr; }
31 const
midi::MidiBuffer&
events) const noexcept;
33 const
midi::MpeBuffer& mpe) const noexcept;
48 const
audio::BufferView<const
float>& input,
49 int num_samples) const noexcept;
51 const
audio::BufferView<const
float>& input,
53 const
format::ProcessContext& transport) const noexcept;
59 : owner_(&owner), snapshot_(
std::move(snapshot)),
60 processing_lease_(owner.processing_handle_lifetime_) {
61 if (owner.spectral_mode_.load(std::memory_order_acquire) ||
62 (snapshot_ && snapshot_->spectral)) {
63 owner.spectral_error_.store(SpectralError::SpectralPinnedExecutionUnsupported,
64 std::memory_order_relaxed);
66 processing_lease_.reset();
71 std::shared_ptr<SignalGraph::CompiledGraph> snapshot_;
72 std::shared_ptr<int> processing_lease_;
Strong, typed handle to one exact compiled SignalGraph generation.
Definition signal_graph_execution_snapshot.hpp:23
bool inject_midi(NodeId midi_input_node, const midi::MidiBuffer &events) const noexcept
bool inject_exact_parameter_events(NodeId plugin_node, const state::ParameterEventQueue &events, SnapshotParameterIngressPasskey) const noexcept
ExecutionSnapshot()=default
void process(audio::BufferView< float > &output, const audio::BufferView< const float > &input, int num_samples) const noexcept
std::uint64_t sample_region_binding_generation() const noexcept
std::vector< SampleRegionRuntimeReceipt > sample_region_runtime_receipts() const
friend class PreparedTopologyEdit
Definition signal_graph_execution_snapshot.hpp:56
bool inject_parameter_events(NodeId plugin_node, const state::ParameterEventQueue &events) const noexcept
Passkey authorizing exact-generation parameter-event injection into a pinned ExecutionSnapshot.
Definition signal_graph_execution_snapshot.hpp:15
friend class detail::TimelineAutomationDelivery
Definition signal_graph_execution_snapshot.hpp:17
Definition analyzer_provider.hpp:12
Definition child_process_manager.hpp:18
std::uint32_t NodeId
Definition graph_types.hpp:7
Definition baked_codec.hpp:158
Bounded event contracts shared by host ingress and graph-authored nodes.
Definition anticipation_eligibility.hpp:9
::pulp::state::ParameterEventQueue ParameterEventQueue
Definition parameter_event_queue.hpp:8
Definition custom_node_events.hpp:26
SequencerStateChannel is the audio-safe transport for a plugin's structured NON-parameter state: the ...
Definition audio_device_manager.hpp:48
Definition sample_region_runtime.hpp:171