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

#include <anticipation_lane.hpp>

Public Member Functions

 AnticipationLane ()=default
 AnticipationLane (const AnticipationLane &)=delete
AnticipationLane & operator= (const AnticipationLane &)=delete
bool prepare (const AnticipationSubgraph &sub, const std::function< std::atomic< float > *(NodeId)> &gain_for, const std::function< PluginSlot *(NodeId)> &plugin_for, double sample_rate, int block_frames, int lead_blocks, const std::function< ParameterEventInjectionBinding(NodeId)> &parameter_events_for={})
bool prepared () const noexcept
std::size_t output_channels () const noexcept
int block_frames () const noexcept
std::uint64_t buffered_frames () const noexcept
std::uint64_t lead_capacity_frames () const noexcept
int render_ahead (int max_blocks)
bool consume (pulp::audio::BufferView< float > &out) noexcept

Constructor & Destructor Documentation

◆ AnticipationLane() [1/2]

pulp::host::AnticipationLane::AnticipationLane ( )
default

◆ AnticipationLane() [2/2]

pulp::host::AnticipationLane::AnticipationLane ( const AnticipationLane & )
delete

Member Function Documentation

◆ block_frames()

int pulp::host::AnticipationLane::block_frames ( ) const
inlinenoexcept

◆ buffered_frames()

std::uint64_t pulp::host::AnticipationLane::buffered_frames ( ) const
inlinenoexcept

◆ consume()

bool pulp::host::AnticipationLane::consume ( pulp::audio::BufferView< float > & out)
noexcept

◆ lead_capacity_frames()

std::uint64_t pulp::host::AnticipationLane::lead_capacity_frames ( ) const
inlinenoexcept

◆ operator=()

AnticipationLane & pulp::host::AnticipationLane::operator= ( const AnticipationLane & )
delete

◆ output_channels()

std::size_t pulp::host::AnticipationLane::output_channels ( ) const
inlinenoexcept

◆ prepare()

bool pulp::host::AnticipationLane::prepare ( const AnticipationSubgraph & sub,
const std::function< std::atomic< float > *(NodeId)> & gain_for,
const std::function< PluginSlot *(NodeId)> & plugin_for,
double sample_rate,
int block_frames,
int lead_blocks,
const std::function< ParameterEventInjectionBinding(NodeId)> & parameter_events_for = {} )

◆ prepared()

bool pulp::host::AnticipationLane::prepared ( ) const
inlinenoexcept

◆ render_ahead()

int pulp::host::AnticipationLane::render_ahead ( int max_blocks)

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