Loading...
Searching...
No Matches

Public Member Functions

 LV2Data (LV2::HostContext &h, LV2::EffectContext &ctx)
 
uint32_t atomBufferSize (int port_index) const noexcept
 
void portRanges (ossia::float_vector &min, ossia::float_vector &max, ossia::float_vector &init) const
 

Public Attributes

LV2::HostContext & host
 
LV2::EffectContext & effect
 
ossia::small_vector< int, 4 > audio_in_ports
 
ossia::small_vector< int, 4 > audio_out_ports
 
ossia::small_vector< int, 8 > control_in_ports
 
ossia::small_vector< int, 8 > control_out_ports
 
ossia::small_vector< int, 8 > control_other_ports
 
ossia::small_vector< int, 2 > midi_in_ports
 
ossia::small_vector< int, 2 > midi_out_ports
 
ossia::small_vector< int, 2 > midi_other_ports
 
ossia::small_vector< int, 2 > cv_ports
 CV inputs (and audio ports with no direction); CV outputs.
 
ossia::small_vector< int, 2 > cv_out_ports
 
ossia::small_vector< int, 2 > atom_in_ports
 
ossia::small_vector< int, 2 > atom_out_ports
 
ossia::small_vector< int, 2 > time_Position_ports {}
 
std::vector< uint32_t > atom_minimum_sizes
 rsz:minimumSize of each port, by port index; 0 when not given.
 

Member Function Documentation

◆ atomBufferSize()

uint32_t LV2::LV2Data::atomBufferSize ( int  port_index) const
inlinenoexcept

Bytes to allocate for the buffer of atom port port_index: at least what the plug-in asks for with rsz:minimumSize.

◆ portRanges()

void LV2::LV2Data::portRanges ( ossia::float_vector &  min,
ossia::float_vector &  max,
ossia::float_vector &  init 
) const

lv2:minimum, lv2:maximum and lv2:default of each port, by port index. What the plug-in leaves out is filled in: minimum 0, maximum one more than the minimum (or twice the default above it), default the minimum.


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