Audacity 3.2.0
|
#include <LV2Ports.h>
Public Member Functions | |
LV2Ports (const LilvPlugin &plug) | |
void | EmitPortValues (const LilvState &state, LV2EffectSettings &settings) const |
const void * | GetPortValue (const LV2EffectSettings &settings, const char *port_symbol, uint32_t *size, uint32_t *type) const |
void | SetPortValue (LV2EffectSettings &settings, const char *port_symbol, const void *value, uint32_t size, uint32_t type) const |
Public Attributes | |
LV2AudioPortArray | mAudioPorts |
unsigned | mAudioIn { 0 } |
unsigned | mAudioOut { 0 } |
LV2AtomPortArray | mAtomPorts |
std::optional< size_t > | mControlInIdx {} |
std::optional< size_t > | mControlOutIdx {} |
unsigned | mMidiIn { 0 } |
unsigned | mMidiOut { 0 } |
LV2CVPortArray | mCVPorts |
LV2ControlPortArray | mControlPorts |
TranslatableStrings | mGroups |
std::unordered_map< TranslatableString, std::vector< int > > | mGroupMap |
std::unordered_map< uint32_t, size_t > | mControlPortMap |
int | mLatencyPort { -1 } |
Definition at line 257 of file LV2Ports.h.
|
explicit |
mGroups
occurs as a key in mGroupMap
Definition at line 153 of file LV2Ports.cpp.
References LV2Symbols::gWorld, LilvString(), LilvStringMove(), mAtomPorts, mAudioIn, mAudioOut, mAudioPorts, mControlInIdx, mControlOutIdx, mControlPortMap, mControlPorts, mCVPorts, mGroupMap, mGroups, min(), mLatencyPort, mMidiIn, mMidiOut, name, anonymous_namespace{ClipSegmentTest.cpp}::sampleRate, Verbatim(), and XO().
void LV2Ports::EmitPortValues | ( | const LilvState & | state, |
LV2EffectSettings & | settings | ||
) | const |
Definition at line 411 of file LV2Ports.cpp.
References anonymous_namespace{LV2Ports.cpp}::set_value_func(), and settings().
Referenced by LV2EffectBase::LoadFactoryPreset().
const void * LV2Ports::GetPortValue | ( | const LV2EffectSettings & | settings, |
const char * | port_symbol, | ||
uint32_t * | size, | ||
uint32_t * | type | ||
) | const |
Definition at line 356 of file LV2Ports.cpp.
References mControlPorts, settings(), and size.
void LV2Ports::SetPortValue | ( | LV2EffectSettings & | settings, |
const char * | port_symbol, | ||
const void * | value, | ||
uint32_t | size, | ||
uint32_t | type | ||
) | const |
Definition at line 385 of file LV2Ports.cpp.
References mControlPorts, settings(), and size.
LV2AtomPortArray LV2Ports::mAtomPorts |
Definition at line 275 of file LV2Ports.h.
Referenced by LV2Ports(), and LV2PortStates::LV2PortStates().
unsigned LV2Ports::mAudioIn { 0 } |
Definition at line 272 of file LV2Ports.h.
Referenced by LV2Instance::GetAudioInCount(), LV2EffectBase::GetType(), and LV2Ports().
unsigned LV2Ports::mAudioOut { 0 } |
Definition at line 273 of file LV2Ports.h.
Referenced by LV2Instance::GetAudioOutCount(), LV2EffectBase::GetType(), and LV2Ports().
LV2AudioPortArray LV2Ports::mAudioPorts |
Definition at line 271 of file LV2Ports.h.
Referenced by LV2Ports(), LV2Instance::ProcessBlock(), and LV2Instance::RealtimeProcess().
std::optional<size_t> LV2Ports::mControlInIdx {} |
Definition at line 276 of file LV2Ports.h.
Referenced by LV2Ports(), and LV2PortUIStates::LV2PortUIStates().
std::optional<size_t> LV2Ports::mControlOutIdx {} |
Definition at line 277 of file LV2Ports.h.
Referenced by LV2Ports(), and LV2PortUIStates::LV2PortUIStates().
std::unordered_map<uint32_t, size_t> LV2Ports::mControlPortMap |
Mapping from index number among all ports, to position among the control ports only
Definition at line 288 of file LV2Ports.h.
Referenced by LV2Ports(), and LV2Editor::suil_port_write().
LV2ControlPortArray LV2Ports::mControlPorts |
Definition at line 283 of file LV2Ports.h.
Referenced by LV2Editor::BuildPlain(), LV2Wrapper::ConnectControlPorts(), LV2EffectBase::CopySettingsContents(), LV2Editor::Disconnect(), GetPortValue(), LV2EffectBase::IsInteractive(), LV2EffectBase::LoadSettings(), LV2Ports(), LV2PortUIStates::LV2PortUIStates(), LV2EffectBase::MakeOutputs(), LV2EffectBase::MakeSettings(), LV2Editor::OnChoice(), LV2Editor::OnTrigger(), LV2EffectBase::SaveSettings(), SetPortValue(), LV2Editor::UpdateControlPortValue(), and LV2Editor::UpdateUI().
LV2CVPortArray LV2Ports::mCVPorts |
Definition at line 281 of file LV2Ports.h.
Referenced by LV2Ports(), and LV2PortStates::LV2PortStates().
std::unordered_map<TranslatableString, std::vector<int> > LV2Ports::mGroupMap |
Definition at line 285 of file LV2Ports.h.
Referenced by LV2Editor::BuildPlain(), LV2Ports(), and LV2Editor::UpdateUI().
TranslatableStrings LV2Ports::mGroups |
Definition at line 284 of file LV2Ports.h.
Referenced by LV2Editor::BuildPlain(), LV2Ports(), and LV2Editor::UpdateUI().
int LV2Ports::mLatencyPort { -1 } |
Definition at line 289 of file LV2Ports.h.
Referenced by LV2Wrapper::ConnectControlPorts(), and LV2Ports().
unsigned LV2Ports::mMidiIn { 0 } |
Definition at line 278 of file LV2Ports.h.
Referenced by LV2Ports().
unsigned LV2Ports::mMidiOut { 0 } |
Definition at line 279 of file LV2Ports.h.
Referenced by LV2Ports().