Audacity 3.2.0
|
#include <VSTWrapper.h>
Classes | |
struct | ParameterInfo |
struct | ResourceHandle |
Public Types | |
using | ParameterVisitor = std::function< bool(const ParameterInfo &pi) > |
using | ModuleHandle = std::unique_ptr< wxDynamicLibrary > |
using | BundleHandle = CF_ptr< CFBundleRef > |
Public Member Functions | |
VSTWrapper (const PluginPath &path) | |
~VSTWrapper () | |
intptr_t | callDispatcher (int opcode, int index, intptr_t value, void *ptr, float opt) override |
intptr_t | constCallDispatcher (int opcode, int index, intptr_t value, void *ptr, float opt) const |
float | callGetParameter (int index) const |
void | callSetChunk (bool isPgm, int len, void *buf) |
void | callSetChunk (bool isPgm, int len, void *buf, VstPatchChunkInfo *info) const |
int | GetString (wxString &outstr, int opcode, int index=0) const |
wxString | GetString (int opcode, int index=0) const |
void | ForEachParameter (ParameterVisitor visitor) const |
bool | FetchSettings (VSTSettings &vst3Settings, bool doFetch=true) const |
bool | StoreSettings (const VSTSettings &vst3settings) const |
VstPatchChunkInfo | GetChunkInfo () const |
bool | IsCompatible (const VstPatchChunkInfo &) const |
bool | LoadXML (const wxFileName &fn) |
bool | HandleXMLTag (const std::string_view &tag, const AttributesList &attrs) override |
void | HandleXMLEndTag (const std::string_view &tag) override |
void | HandleXMLContent (const std::string_view &content) override |
XMLTagHandler * | HandleXMLChild (const std::string_view &tag) override |
void | SetString (int opcode, const wxString &str, int index=0) |
ComponentInterfaceSymbol | GetSymbol () const |
void | callSetParameter (int index, float value) const |
void | SaveXML (const wxFileName &fn) const |
bool | LoadFXB (const wxFileName &fn) |
bool | LoadFXP (const wxFileName &fn) |
bool | LoadFXProgram (unsigned char **bptr, ssize_t &len, int index, bool dryrun) |
void | callSetProgram (int index) |
void | SaveFXB (const wxFileName &fn) const |
void | SaveFXP (const wxFileName &fn) const |
void | SaveFXProgram (wxMemoryBuffer &buf, int index) const |
bool | Load () |
void | Unload () |
void | ResetModuleAndHandle () |
VstTimeInfo * | GetTimeInfo () |
float | GetSampleRate () |
int | GetProcessLevel () |
virtual void | SetBufferDelay (int samples) |
std::unique_ptr< EffectInstance::Message > | MakeMessageFS (const VSTSettings &settings) const |
Public Member Functions inherited from VSTLink | |
virtual | ~VSTLink () |
virtual intptr_t | callDispatcher (int opcode, int index, intptr_t value, void *ptr, float opt)=0 |
Public Member Functions inherited from XMLTagHandler | |
XMLTagHandler () | |
virtual | ~XMLTagHandler () |
virtual bool | HandleXMLTag (const std::string_view &tag, const AttributesList &attrs)=0 |
virtual void | HandleXMLEndTag (const std::string_view &WXUNUSED(tag)) |
virtual void | HandleXMLContent (const std::string_view &WXUNUSED(content)) |
virtual XMLTagHandler * | HandleXMLChild (const std::string_view &tag)=0 |
void | ReadXMLEndTag (const char *tag) |
void | ReadXMLContent (const char *s, int len) |
XMLTagHandler * | ReadXMLChild (const char *tag) |
Public Member Functions inherited from VSTUIWrapper | |
virtual void | Idle () |
virtual void | NeedIdle () |
virtual void | SizeWindow (int w, int h) |
virtual void | Automate (int index, float value) |
virtual void | Flush () |
Static Public Member Functions | |
static VSTSettings & | GetSettings (EffectSettings &settings) |
static const VSTSettings & | GetSettings (const EffectSettings &settings) |
static intptr_t | AudioMaster (AEffect *effect, int32_t opcode, int32_t index, intptr_t value, void *ptr, float opt) |
Public Attributes | |
AEffect * | mAEffect = nullptr |
std::thread::id | mMainThreadId |
std::recursive_mutex | mDispatcherLock |
int | mVstVersion |
wxString | mName |
bool | mInSet |
bool | mInChunk |
wxString | mChunk |
long | mXMLVersion |
VstPatchChunkInfo | mXMLInfo |
intptr_t | mCurrentEffectID {} |
PluginPath | mPath |
ModuleHandle | mModule {} |
wxString | mVendor |
wxString | mDescription |
int | mVersion |
bool | mInteractive { false } |
unsigned | mAudioIns { 0 } |
unsigned | mAudioOuts { 0 } |
int | mMidiIns { 0 } |
int | mMidiOuts { 0 } |
bool | mAutomatable |
BundleHandle | mBundleRef |
ResourceHandle | mResource |
VstTimeInfo | mTimeInfo |
int | mBufferDelay { 0 } |
int | mProcessLevel { 1 } |
bool | mGui { false } |
Definition at line 100 of file VSTWrapper.h.
using VSTWrapper::BundleHandle = CF_ptr<CFBundleRef> |
Definition at line 233 of file VSTWrapper.h.
using VSTWrapper::ModuleHandle = std::unique_ptr<wxDynamicLibrary> |
Definition at line 207 of file VSTWrapper.h.
using VSTWrapper::ParameterVisitor = std::function< bool(const ParameterInfo& pi) > |
Definition at line 152 of file VSTWrapper.h.
|
inlineexplicit |
Definition at line 117 of file VSTWrapper.h.
VSTWrapper::~VSTWrapper | ( | ) |
Definition at line 597 of file VSTWrapper.cpp.
References ResetModuleAndHandle(), and Unload().
|
static |
Definition at line 59 of file VSTWrapper.cpp.
References audioMasterAutomate, audioMasterBeginEdit, audioMasterCanDo, audioMasterCurrentId, audioMasterEndEdit, audioMasterGetCurrentProcessLevel, audioMasterGetLanguage, audioMasterGetProductString, audioMasterGetSampleRate, audioMasterGetTime, audioMasterGetVendorString, audioMasterGetVendorVersion, audioMasterIdle, audioMasterIOChanged, audioMasterNeedIdle, audioMasterPinConnected, audioMasterProcessEvents, audioMasterSizeWindow, audioMasterUpdateDisplay, audioMasterVersion, audioMasterWantMidi, audioMasterWillReplaceOrAccumulate, VSTUIWrapper::Automate(), GetProcessLevel(), GetSampleRate(), GetTimeInfo(), VSTUIWrapper::Idle(), AEffect::initialDelay, kVstLangEnglish, mCurrentEffectID, VSTUIWrapper::NeedIdle(), AEffect::ptr2, SetBufferDelay(), VSTUIWrapper::SizeWindow(), and wxT().
Referenced by Load().
|
overridevirtual |
Implements VSTLink.
Definition at line 682 of file VSTWrapper.cpp.
References AEffect::dispatcher, mAEffect, and mDispatcherLock.
Referenced by callSetProgram(), constCallDispatcher(), VSTInstance::DoProcessInitialize(), VSTEffectBase::GetEffectIDs(), HandleXMLEndTag(), HandleXMLTag(), Load(), LoadFXB(), LoadFXProgram(), LoadXML(), VSTEditor::OnTimer(), VSTInstance::PowerOff(), VSTInstance::PowerOn(), SetString(), and Unload().
float VSTWrapper::callGetParameter | ( | int | index | ) | const |
Definition at line 699 of file VSTWrapper.cpp.
References AEffect::getParameter, and mAEffect.
Referenced by FetchSettings(), SaveFXProgram(), and SaveXML().
void VSTWrapper::callSetChunk | ( | bool | isPgm, |
int | len, | ||
void * | buf | ||
) |
Definition at line 721 of file VSTWrapper.cpp.
References callSetChunk(), mAEffect, VstPatchChunkInfo::numElements, AEffect::numParams, AEffect::numPrograms, VstPatchChunkInfo::pluginUniqueID, VstPatchChunkInfo::pluginVersion, AEffect::uniqueID, AEffect::version, and VstPatchChunkInfo::version.
Referenced by VSTInstance::ApplyChunk(), callSetChunk(), HandleXMLEndTag(), LoadFXB(), LoadFXProgram(), VSTEffectBase::LoadUserPreset(), and StoreSettings().
void VSTWrapper::callSetChunk | ( | bool | isPgm, |
int | len, | ||
void * | buf, | ||
VstPatchChunkInfo * | info | ||
) | const |
Definition at line 734 of file VSTWrapper.cpp.
References constCallDispatcher(), effBeginLoadBank, effBeginLoadProgram, effBeginSetProgram, effEndSetProgram, and effSetChunk.
void VSTWrapper::callSetParameter | ( | int | index, |
float | value | ||
) | const |
Definition at line 704 of file VSTWrapper.cpp.
References constCallDispatcher(), effCanBeAutomated, mAEffect, mVstVersion, and AEffect::setParameter.
Referenced by HandleXMLTag(), LoadFXProgram(), and VSTInstance::RealtimeProcessStart().
void VSTWrapper::callSetProgram | ( | int | index | ) |
Definition at line 712 of file VSTWrapper.cpp.
References callDispatcher(), effBeginSetProgram, effEndSetProgram, and effSetProgram.
Referenced by VSTEffectBase::DoLoadFactoryPreset(), Load(), and LoadFXB().
intptr_t VSTWrapper::constCallDispatcher | ( | int | opcode, |
int | index, | ||
intptr_t | value, | ||
void * | ptr, | ||
float | opt | ||
) | const |
Definition at line 691 of file VSTWrapper.cpp.
References callDispatcher().
Referenced by callSetChunk(), callSetParameter(), FetchSettings(), GetString(), SaveFXB(), SaveFXP(), SaveFXProgram(), VSTEffectBase::SaveUserPreset(), SaveXML(), and StoreSettings().
bool VSTWrapper::FetchSettings | ( | VSTSettings & | vst3Settings, |
bool | doFetch = true |
||
) | const |
Definition at line 1714 of file VSTWrapper.cpp.
References callGetParameter(), constCallDispatcher(), effFlagsProgramChunks, effGetChunk, AEffect::flags, ForEachParameter(), mAEffect, VSTSettings::mChunk, VSTSettings::mNumParams, VSTSettings::mParamsMap, VSTSettings::mUniqueID, VSTSettings::mVersion, AEffect::numParams, MIR::anonymous_namespace{MirUtils.cpp}::pi, size, AEffect::uniqueID, and AEffect::version.
Referenced by VSTEditor::FetchSettingsFromInstance(), VSTEffect::ImportPresetsNC(), VSTEffectBase::LoadFactoryPreset(), VSTEffectBase::LoadUserPreset(), VSTInstance::MakeMessage(), and VSTEffectBase::MakeSettings().
void VSTWrapper::ForEachParameter | ( | ParameterVisitor | visitor | ) | const |
Definition at line 1688 of file VSTWrapper.cpp.
References effGetParamName, GetString(), mAEffect, name, CommandParameters::NormalizeName(), AEffect::numParams, MIR::anonymous_namespace{MirUtils.cpp}::pi, and wxT().
Referenced by FetchSettings(), MakeMessageFS(), VSTEditor::NotifyParameterChanged(), StoreSettings(), and VSTEditor::VSTEditor().
VstPatchChunkInfo VSTWrapper::GetChunkInfo | ( | ) | const |
Definition at line 603 of file VSTWrapper.cpp.
References mAEffect, AEffect::numParams, AEffect::uniqueID, and AEffect::version.
Referenced by VSTEffectBase::LoadUserPreset().
int VSTWrapper::GetProcessLevel | ( | ) |
Definition at line 638 of file VSTWrapper.cpp.
References mProcessLevel.
Referenced by AudioMaster().
float VSTWrapper::GetSampleRate | ( | ) |
Definition at line 633 of file VSTWrapper.cpp.
References mTimeInfo, and VstTimeInfo::sampleRate.
Referenced by AudioMaster().
|
inlinestatic |
Definition at line 110 of file VSTWrapper.h.
References settings().
|
inlinestatic |
Definition at line 103 of file VSTWrapper.h.
References settings().
Referenced by VSTEffect::ExportPresets(), VSTEditor::FetchSettingsFromInstance(), VSTEffect::ImportPresetsNC(), VSTEffectBase::LoadFactoryPreset(), VSTEffectBase::LoadSettings(), VSTEffectBase::LoadUserPreset(), VSTEditor::NotifyParameterChanged(), VSTInstance::ProcessInitialize(), VSTEffectBase::SaveSettings(), VSTEffectBase::SaveUserPreset(), VSTEditor::StoreSettingsToInstance(), and VSTEditor::VSTEditor().
wxString VSTWrapper::GetString | ( | int | opcode, |
int | index = 0 |
||
) | const |
Definition at line 665 of file VSTWrapper.cpp.
References GetString(), and str.
int VSTWrapper::GetString | ( | wxString & | outstr, |
int | opcode, | ||
int | index = 0 |
||
) | const |
Definition at line 651 of file VSTWrapper.cpp.
References constCallDispatcher().
Referenced by VSTEditor::BuildPlain(), ForEachParameter(), VSTEffectBase::GetFactoryPresets(), GetString(), Load(), VSTEditor::RefreshParameters(), and SaveXML().
ComponentInterfaceSymbol VSTWrapper::GetSymbol | ( | ) | const |
Definition at line 1813 of file VSTWrapper.cpp.
References mName.
Referenced by VSTEffectBase::GetSymbol(), HandleXMLTag(), and SaveXML().
VstTimeInfo * VSTWrapper::GetTimeInfo | ( | ) |
Definition at line 627 of file VSTWrapper.cpp.
References mTimeInfo, and VstTimeInfo::nanoSeconds.
Referenced by AudioMaster().
|
overridevirtual |
Implements XMLTagHandler.
Definition at line 1658 of file VSTWrapper.cpp.
|
override |
Definition at line 1650 of file VSTWrapper.cpp.
|
override |
Definition at line 1620 of file VSTWrapper.cpp.
References callDispatcher(), callSetChunk(), Base64::Decode(), effEndSetProgram, mChunk, mInChunk, mInSet, and mXMLInfo.
|
overridevirtual |
Implements XMLTagHandler.
Definition at line 1413 of file VSTWrapper.cpp.
References callDispatcher(), callSetParameter(), BasicUI::MessageBoxOptions::Caption(), effBeginLoadProgram, effBeginSetProgram, effSetProgramName, GetSymbol(), Internal, mAEffect, mInChunk, mInSet, mXMLInfo, mXMLVersion, VstPatchChunkInfo::numElements, AEffect::numParams, VstPatchChunkInfo::pluginUniqueID, VstPatchChunkInfo::pluginVersion, SetString(), BasicUI::ShowMessageBox(), AEffect::uniqueID, AEffect::version, VstPatchChunkInfo::version, and XO().
bool VSTWrapper::IsCompatible | ( | const VstPatchChunkInfo & | info | ) | const |
Definition at line 609 of file VSTWrapper.cpp.
References mAEffect, VstPatchChunkInfo::numElements, AEffect::numParams, VstPatchChunkInfo::pluginUniqueID, VstPatchChunkInfo::pluginVersion, AEffect::uniqueID, and AEffect::version.
Referenced by VSTEffectBase::LoadUserPreset().
bool VSTWrapper::Load | ( | ) |
Definition at line 307 of file VSTWrapper.cpp.
References AudioMaster(), callDispatcher(), callSetProgram(), effCanBeAutomated, effFlagsCanReplacing, effFlagsHasEditor, effFlagsIsSynth, effGetEffectName, effGetProductString, effGetVendorString, effGetVendorVersion, effGetVstVersion, effIdentify, effOpen, effSetBlockSize, effSetSampleRate, AEffect::flags, GetString(), kEffectMagic, mAEffect, AEffect::magic, mAudioIns, mAudioOuts, mAutomatable, mBundleRef, mCurrentEffectID, mGui, mInteractive, mModule, mName, mPath, mResource, mVendor, mVersion, mVstVersion, AEffect::numInputs, AEffect::numOutputs, AEffect::numParams, PLATFORM_MAX_PATH, AEffect::ptr2, ResetModuleAndHandle(), Unload(), AEffect::version, and wxT().
Referenced by VSTEffectsModule::DiscoverPluginsAtPath(), VSTEffectBase::InitializePlugin(), and VSTInstance::VSTInstance().
bool VSTWrapper::LoadFXB | ( | const wxFileName & | fn | ) |
Definition at line 758 of file VSTWrapper.cpp.
References callDispatcher(), callSetChunk(), callSetProgram(), BasicUI::MessageBoxOptions::Caption(), CCONST, effBeginLoadBank, effFlagsProgramChunks, AEffect::flags, fn, LoadFXProgram(), mAEffect, VstPatchChunkInfo::numElements, AEffect::numPrograms, VstPatchChunkInfo::pluginUniqueID, VstPatchChunkInfo::pluginVersion, BasicUI::ShowMessageBox(), size, AEffect::uniqueID, AEffect::version, wxT(), and XO().
Referenced by VSTEffect::ImportPresetsNC().
bool VSTWrapper::LoadFXP | ( | const wxFileName & | fn | ) |
Definition at line 931 of file VSTWrapper.cpp.
References BasicUI::MessageBoxOptions::Caption(), fn, LoadFXProgram(), BasicUI::ShowMessageBox(), wxT(), and XO().
Referenced by VSTEffect::ImportPresetsNC().
bool VSTWrapper::LoadFXProgram | ( | unsigned char ** | bptr, |
ssize_t & | len, | ||
int | index, | ||
bool | dryrun | ||
) |
Definition at line 983 of file VSTWrapper.cpp.
References callDispatcher(), callSetChunk(), callSetParameter(), CCONST, effBeginLoadProgram, effBeginSetProgram, effEndSetProgram, effFlagsProgramChunks, effSetProgramName, AEffect::flags, mAEffect, VstPatchChunkInfo::numElements, AEffect::numParams, VstPatchChunkInfo::pluginUniqueID, VstPatchChunkInfo::pluginVersion, reinterpretAsFloat(), SetString(), size, AEffect::uniqueID, and AEffect::version.
Referenced by LoadFXB(), and LoadFXP().
bool VSTWrapper::LoadXML | ( | const wxFileName & | fn | ) |
Definition at line 1137 of file VSTWrapper.cpp.
References callDispatcher(), BasicUI::MessageBoxOptions::Caption(), effEndSetProgram, fn, XMLFileReader::GetErrorStr(), mInChunk, mInSet, XMLFileReader::Parse(), BasicUI::ShowMessageBox(), and XO().
Referenced by VSTEffect::ImportPresetsNC().
std::unique_ptr< EffectInstance::Message > VSTWrapper::MakeMessageFS | ( | const VSTSettings & | settings | ) | const |
Definition at line 1819 of file VSTWrapper.cpp.
References details::end(), ForEachParameter(), mAEffect, AEffect::numParams, MIR::anonymous_namespace{MirUtils.cpp}::pi, and settings().
Referenced by VSTEffect::ImportPresetsNC(), VSTEffectBase::LoadFactoryPreset(), VSTEffectBase::LoadUserPreset(), and VSTEditor::VSTEditor().
void VSTWrapper::ResetModuleAndHandle | ( | ) |
Definition at line 583 of file VSTWrapper.cpp.
References mAEffect, mBundleRef, mModule, mResource, and VSTWrapper::ResourceHandle::reset().
Referenced by Load(), and ~VSTWrapper().
void VSTWrapper::SaveFXB | ( | const wxFileName & | fn | ) | const |
Definition at line 1169 of file VSTWrapper.cpp.
References BasicUI::MessageBoxOptions::Caption(), CCONST, constCallDispatcher(), effFlagsProgramChunks, effGetChunk, AEffect::flags, fn, mAEffect, AEffect::numPrograms, SaveFXProgram(), BasicUI::ShowMessageBox(), size, AEffect::uniqueID, AEffect::version, wxT(), and XO().
Referenced by VSTEffect::ExportPresets().
void VSTWrapper::SaveFXP | ( | const wxFileName & | fn | ) | const |
Definition at line 1257 of file VSTWrapper.cpp.
References BasicUI::MessageBoxOptions::Caption(), constCallDispatcher(), effGetProgram, fn, SaveFXProgram(), BasicUI::ShowMessageBox(), wxT(), and XO().
Referenced by VSTEffect::ExportPresets().
void VSTWrapper::SaveFXProgram | ( | wxMemoryBuffer & | buf, |
int | index | ||
) | const |
Definition at line 1293 of file VSTWrapper.cpp.
References callGetParameter(), CCONST, constCallDispatcher(), effFlagsProgramChunks, effGetChunk, effGetProgramNameIndexed, AEffect::flags, mAEffect, AEffect::numParams, reinterpretAsUint32(), size, AEffect::uniqueID, and AEffect::version.
Referenced by SaveFXB(), and SaveFXP().
void VSTWrapper::SaveXML | ( | const wxFileName & | fn | ) | const |
Definition at line 1354 of file VSTWrapper.cpp.
References callGetParameter(), constCallDispatcher(), effFlagsProgramChunks, effGetChunk, effGetParamName, Base64::Encode(), AEffect::flags, fn, GetString(), GetSymbol(), Internal, mAEffect, AEffect::numParams, AEffect::uniqueID, AEffect::version, wxT(), and XO().
Referenced by VSTEffect::ExportPresets().
|
virtual |
Reimplemented in VSTInstance.
Definition at line 647 of file VSTWrapper.cpp.
Referenced by AudioMaster().
void VSTWrapper::SetString | ( | int | opcode, |
const wxString & | str, | ||
int | index = 0 |
||
) |
Definition at line 674 of file VSTWrapper.cpp.
References callDispatcher(), and str.
Referenced by HandleXMLTag(), and LoadFXProgram().
bool VSTWrapper::StoreSettings | ( | const VSTSettings & | vst3settings | ) | const |
Definition at line 1764 of file VSTWrapper.cpp.
References callSetChunk(), constCallDispatcher(), effBeginSetProgram, ForEachParameter(), mAEffect, VSTSettings::mChunk, VSTSettings::mNumParams, VSTSettings::mParamsMap, VSTSettings::mUniqueID, AEffect::numParams, MIR::anonymous_namespace{MirUtils.cpp}::pi, AEffect::uniqueID, and AEffect::version.
Referenced by VSTEffect::ExportPresets(), VSTInstance::ProcessInitialize(), VSTEffectBase::SaveUserPreset(), and VSTEditor::StoreSettingsToInstance().
void VSTWrapper::Unload | ( | ) |
Definition at line 571 of file VSTWrapper.cpp.
References callDispatcher(), effClose, and mAEffect.
Referenced by Load(), and ~VSTWrapper().
AEffect* VSTWrapper::mAEffect = nullptr |
Definition at line 124 of file VSTWrapper.h.
Referenced by VSTInstance::ApplyChunk(), callDispatcher(), callGetParameter(), VSTInstance::callProcessReplacing(), callSetChunk(), callSetParameter(), VSTInstance::DoProcessInitialize(), FetchSettings(), ForEachParameter(), GetChunkInfo(), VSTEffectBase::GetFactoryPresets(), HandleXMLTag(), VSTEffectBase::InitializePlugin(), IsCompatible(), Load(), LoadFXB(), LoadFXProgram(), VSTEffectBase::LoadSettings(), VSTInstance::MakeMessage(), MakeMessageFS(), VSTEffect::PopulateUI(), VSTInstance::RealtimeProcessStart(), ResetModuleAndHandle(), SaveFXB(), SaveFXProgram(), VSTEffectBase::SaveUserPreset(), SaveXML(), StoreSettings(), and Unload().
unsigned VSTWrapper::mAudioIns { 0 } |
Definition at line 220 of file VSTWrapper.h.
Referenced by VSTInstance::GetAudioInCount(), VSTEffectBase::GetDescription(), VSTEffectBase::GetType(), and Load().
unsigned VSTWrapper::mAudioOuts { 0 } |
Definition at line 221 of file VSTWrapper.h.
Referenced by VSTInstance::GetAudioOutCount(), VSTEffectBase::GetDescription(), VSTEffectBase::GetType(), and Load().
bool VSTWrapper::mAutomatable |
Definition at line 224 of file VSTWrapper.h.
Referenced by Load(), and VSTEffectBase::SupportsAutomation().
int VSTWrapper::mBufferDelay { 0 } |
Definition at line 266 of file VSTWrapper.h.
Referenced by VSTInstance::SetBufferDelay().
BundleHandle VSTWrapper::mBundleRef |
Definition at line 235 of file VSTWrapper.h.
Referenced by Load(), and ResetModuleAndHandle().
wxString VSTWrapper::mChunk |
Definition at line 171 of file VSTWrapper.h.
Referenced by VSTMessage::Assign(), VSTMessage::Clone(), HandleXMLContent(), HandleXMLEndTag(), and VSTMessage::Merge().
intptr_t VSTWrapper::mCurrentEffectID {} |
Definition at line 200 of file VSTWrapper.h.
Referenced by AudioMaster(), and Load().
wxString VSTWrapper::mDescription |
Definition at line 217 of file VSTWrapper.h.
std::recursive_mutex VSTWrapper::mDispatcherLock |
Definition at line 133 of file VSTWrapper.h.
Referenced by callDispatcher().
bool VSTWrapper::mGui { false } |
Definition at line 295 of file VSTWrapper.h.
Referenced by VSTInstance::HasGUI(), Load(), and VSTEffect::PopulateUI().
bool VSTWrapper::mInChunk |
Definition at line 170 of file VSTWrapper.h.
Referenced by HandleXMLContent(), HandleXMLEndTag(), HandleXMLTag(), and LoadXML().
bool VSTWrapper::mInSet |
Definition at line 169 of file VSTWrapper.h.
Referenced by HandleXMLEndTag(), HandleXMLTag(), and LoadXML().
bool VSTWrapper::mInteractive { false } |
Definition at line 219 of file VSTWrapper.h.
Referenced by VSTEffectBase::IsInteractive(), and Load().
std::thread::id VSTWrapper::mMainThreadId |
Definition at line 125 of file VSTWrapper.h.
Referenced by VSTInstance::Automate(), VSTInstance::ChunkMustBeAppliedInMainThread(), and VSTInstance::RealtimeProcessStart().
int VSTWrapper::mMidiIns { 0 } |
Definition at line 222 of file VSTWrapper.h.
int VSTWrapper::mMidiOuts { 0 } |
Definition at line 223 of file VSTWrapper.h.
ModuleHandle VSTWrapper::mModule {} |
Definition at line 214 of file VSTWrapper.h.
Referenced by Load(), and ResetModuleAndHandle().
wxString VSTWrapper::mName |
Definition at line 166 of file VSTWrapper.h.
Referenced by GetSymbol(), and Load().
PluginPath VSTWrapper::mPath |
Definition at line 203 of file VSTWrapper.h.
Referenced by VSTEffectBase::GetPath(), VSTEffect::ImportPresets(), Load(), VSTEffectBase::MakeInstance(), and VSTInstance::RealtimeAddProcessor().
int VSTWrapper::mProcessLevel { 1 } |
Definition at line 269 of file VSTWrapper.h.
Referenced by GetProcessLevel().
ResourceHandle VSTWrapper::mResource |
Definition at line 258 of file VSTWrapper.h.
Referenced by Load(), and ResetModuleAndHandle().
VstTimeInfo VSTWrapper::mTimeInfo |
Definition at line 264 of file VSTWrapper.h.
Referenced by VSTInstance::DoProcessInitialize(), GetSampleRate(), GetTimeInfo(), VSTInstance::ProcessBlock(), and VSTInstance::VSTInstance().
wxString VSTWrapper::mVendor |
Definition at line 216 of file VSTWrapper.h.
Referenced by VSTEffectBase::GetVendor(), Load(), and VSTInstance::VSTInstance().
int VSTWrapper::mVersion |
Definition at line 218 of file VSTWrapper.h.
Referenced by VSTEffectBase::GetVersion(), Load(), and VSTEffectBase::LoadSettings().
int VSTWrapper::mVstVersion |
Definition at line 165 of file VSTWrapper.h.
Referenced by callSetParameter(), VSTEffectBase::GetEffectIDs(), VSTEffectBase::GetFactoryPresets(), Load(), VSTInstance::PowerOff(), and VSTInstance::PowerOn().
VstPatchChunkInfo VSTWrapper::mXMLInfo |
Definition at line 173 of file VSTWrapper.h.
Referenced by HandleXMLEndTag(), and HandleXMLTag().
long VSTWrapper::mXMLVersion |
Definition at line 172 of file VSTWrapper.h.
Referenced by HandleXMLTag().