#include "VSTEffect.h"
#include "ModuleManager.h"
#include "SampleCount.h"
#include "../../widgets/ProgressDialog.h"
#include <limits.h>
#include <stdio.h>
#include <wx/setup.h>
#include <wx/dynlib.h>
#include <wx/app.h>
#include <wx/defs.h>
#include <wx/buffer.h>
#include <wx/busyinfo.h>
#include <wx/button.h>
#include <wx/combobox.h>
#include <wx/file.h>
#include <wx/filename.h>
#include <wx/imaglist.h>
#include <wx/listctrl.h>
#include <wx/log.h>
#include <wx/module.h>
#include <wx/process.h>
#include <wx/recguard.h>
#include <wx/sizer.h>
#include <wx/slider.h>
#include <wx/scrolwin.h>
#include <wx/sstream.h>
#include <wx/statbox.h>
#include <wx/stattext.h>
#include <wx/timer.h>
#include <wx/tokenzr.h>
#include <wx/utils.h>
#include <shlwapi.h>
#include "FileNames.h"
#include "PlatformCompatibility.h"
#include "../../SelectFile.h"
#include "../../ShuttleGui.h"
#include "../../widgets/valnum.h"
#include "../../widgets/AudacityMessageBox.h"
#include "../../widgets/NumericTextCtrl.h"
#include "XMLFileReader.h"
#include "Base64.h"
#include "ConfigInterface.h"
#include <cstring>
#include "VSTControlMSW.h"
Go to the source code of this file.
|
#define | OUTPUTKEY wxT("<VSTLOADCHK>-") |
|
#define | VSTPATH wxT("/Library/Audio/Plug-Ins/VST") |
|
|
enum | InfoKeys {
kKeySubIDs
, kKeyBegin
, kKeyName
, kKeyPath
,
kKeyVendor
, kKeyVersion
, kKeyDescription
, kKeyEffectType
,
kKeyInteractive
, kKeyAutomatable
, kKeyEnd
} |
|
enum | { ID_Duration = 20000
, ID_Sliders = 21000
} |
|
◆ OUTPUTKEY
#define OUTPUTKEY wxT("<VSTLOADCHK>-") |
◆ VSTPATH
#define VSTPATH wxT("/Library/Audio/Plug-Ins/VST") |
◆ vstPluginMain
◆ anonymous enum
◆ InfoKeys
Enumerator |
---|
kKeySubIDs | |
kKeyBegin | |
kKeyName | |
kKeyPath | |
kKeyVendor | |
kKeyVersion | |
kKeyDescription | |
kKeyEffectType | |
kKeyInteractive | |
kKeyAutomatable | |
kKeyEnd | |
Definition at line 203 of file VSTEffect.cpp.
◆ DECLARE_BUILTIN_PROVIDER()
DECLARE_BUILTIN_PROVIDER |
( |
VSTBuiltin |
| ) |
|
◆ DECLARE_PROVIDER_ENTRY()
DECLARE_PROVIDER_ENTRY |
( |
AudacityModule |
| ) |
|
◆ DEFINE_LOCAL_EVENT_TYPE() [1/2]
DEFINE_LOCAL_EVENT_TYPE |
( |
EVT_SIZEWINDOW |
| ) |
|
◆ DEFINE_LOCAL_EVENT_TYPE() [2/2]
DEFINE_LOCAL_EVENT_TYPE |
( |
EVT_UPDATEDISPLAY |
| ) |
|
◆ IMPLEMENT_DYNAMIC_CLASS()
◆ OnSize()
static void OnSize |
( |
wxSizeEvent & |
evt | ) |
|
|
static |
◆ reinterpretAsFloat()
static float reinterpretAsFloat |
( |
uint32_t |
x | ) |
|
|
static |
Definition at line 113 of file VSTEffect.cpp.
114{
115 static_assert(sizeof(float) == sizeof(uint32_t), "Cannot reinterpret uint32_t to float since sizes are different.");
116 float f;
117 std::memcpy(&f, &x, sizeof(float));
118 return f;
119}
Referenced by VSTEffect::LoadFXProgram().
◆ reinterpretAsUint32()
static uint32_t reinterpretAsUint32 |
( |
float |
f | ) |
|
|
static |
Definition at line 121 of file VSTEffect.cpp.
122{
123 static_assert(sizeof(float) == sizeof(uint32_t), "Cannot reinterpret float to uint32_t since sizes are different.");
124
125 uint32_t x;
126 std::memcpy(&x, &f, sizeof(uint32_t));
127 return x;
128}
Referenced by VSTEffect::SaveFXProgram().