Loading...
Searching...
No Matches
LV2::lv2_node< OnExecStart, OnExecFinished > Struct Template Referencefinal
Inheritance diagram for LV2::lv2_node< OnExecStart, OnExecFinished >:

Classes

struct  worker_routing_scope
 

Public Member Functions

 lv2_node (const LV2Data &dat, int sampleRate, voice_strategy strat, OnExecStart os, OnExecFinished of)
 
std::unique_ptr< voicebuild_voice (SharedInstance handle)
 
SharedInstance instantiate_handle (int sampleRate)
 
std::unique_ptr< voicemake_voice_for_pool (int sampleRate, LilvState *state)
 
LilvState * snapshot_state_raw () const noexcept
 
void append_voice (std::unique_ptr< voice > v) noexcept
 
void request_voice_count (std::size_t n) noexcept
 
void allocate_voice_buffers (voice &v)
 
void connect_voice_ports (voice &v) noexcept
 
void activate_voice (voice &v) noexcept
 
void all_notes_off () noexcept override
 
std::string label () const noexcept override
 
void updateTime (const ossia::token_request &tk, ossia::exec_state_facade st)
 
void preProcessVoice (voice &v, std::size_t voice_idx)
 
void postProcessVoice (voice &v) noexcept
 
void surfaceVoiceZeroOutputs (int64_t offset)
 
void run (const ossia::token_request &tk, ossia::exec_state_facade st) noexcept override
 
void runSingle (int samples) noexcept
 
void runPerChannel (int samples) noexcept
 

Static Public Member Functions

static std::optional< float > voice_control_value (const ossia::value &val, std::size_t voice_idx) noexcept
 

Public Attributes

LV2Data data
 
std::vector< std::unique_ptr< voice > > voices
 
voice_routing routing {voice_routing::single}
 
ossia::float_vector fParamMin
 
ossia::float_vector fParamMax
 
ossia::float_vector fParamInit
 
std::unique_ptr< uint8_t[]> timePositionBuffer {}
 
std::size_t max_block_size {4096}
 
std::atomic< std::size_t > requested_voices {0}
 
OnExecStart on_start
 
OnExecFinished on_finished
 

Static Public Attributes

static constexpr std::size_t kVoicePoolReserve = 256
 

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