iPlug2 - C++ Audio Plug-in Framework
|
IPlug Constant definitions, Types, magic numbers. More...
Go to the source code of this file.
Typedefs | |
using | PLUG_SAMPLE_DST = double |
using | PLUG_SAMPLE_SRC = float |
using | sample = PLUG_SAMPLE_DST |
typedef char | ChunkID[4] |
Enumerations | |
enum | EIPlugPluginType { kEffect = 0, kInstrument = 1, kMIDIEffect = 2 } |
enum | EVST3ParamIDs { kBypassParam = 65536, kPresetParam, kMIDICCParamStartIdx } |
enum | EParamSource { kReset, kHost, kPresetRecall, kUI, kDelegate, kRecompile, kUnknown, kNumParamSources } |
Used to identify the source of a parameter change. | |
enum | ERoute { kInput = 0, kOutput = 1 } |
Used to identify whether a bus/channel connection is an input or an output. | |
enum | EAPI { kAPIVST2 = 0, kAPIVST3 = 1, kAPIAU = 2, kAPIAUv3 = 3, kAPIAAX = 4, kAPIAPP = 5, kAPIWAM = 6, kAPIWEB = 7 } |
enum | EHost { kHostUninit = -1, kHostUnknown = 0, kHostReaper, kHostProTools, kHostCubase, kHostNuendo, kHostSonar, kHostVegas, kHostFL, kHostSamplitude, kHostAbletonLive, kHostTracktion, kHostNTracks, kHostMelodyneStudio, kHostVSTScanner, kHostAULab, kHostForte, kHostChainer, kHostAudition, kHostOrion, kHostBias, kHostSAWStudio, kHostLogic, kHostGarageBand, kHostDigitalPerformer, kHostStandalone, kHostAudioMulch, kHostStudioOne, kHostVST3TestHost, kHostArdour, kHostRenoise, kHostOpenMPT, kHostWaveLab, kHostWaveLabElements, kHostTwistedWave, kHostBitwig, kHostWWW, kHostReason, kHostGoldWave5x, kHostWaveform, kHostAudacity, kHostAcoustica, kHostPluginDoctor, kHostiZotopeRX, kHostSAVIHost, kHostBlueCat } |
Host identifier. | |
enum | EResourceLocation { kNotFound = 0, kAbsolutePath, kWinBinary, kPreloadedTexture } |
enum | ChunkType { kHeader, kComponentState, kControllerState, kProgramData, kMetaInfo, kChunkList, kNumPresetChunks } |
enum | ESpecialKey { kFVIRTKEY = 0x01, kFSHIFT = 0x04, kFCONTROL = 0x08, kFALT = 0x10, kFLWIN = 0x20 } |
enum | EVirtualKey { kVK_NONE = 0x00, kVK_LBUTTON = 0x01, kVK_RBUTTON = 0x02, kVK_MBUTTON = 0x04, kVK_BACK = 0x08, kVK_TAB = 0x09, kVK_CLEAR = 0x0C, kVK_RETURN = 0x0D, kVK_SHIFT = 0x10, kVK_CONTROL = 0x11, kVK_MENU = 0x12, kVK_PAUSE = 0x13, kVK_CAPITAL = 0x14, kVK_ESCAPE = 0x1B, kVK_SPACE = 0x20, kVK_PRIOR = 0x21, kVK_NEXT = 0x22, kVK_END = 0x23, kVK_HOME = 0x24, kVK_LEFT = 0x25, kVK_UP = 0x26, kVK_RIGHT = 0x27, kVK_DOWN = 0x28, kVK_SELECT = 0x29, kVK_PRINT = 0x2A, kVK_SNAPSHOT = 0x2C, kVK_INSERT = 0x2D, kVK_DELETE = 0x2E, kVK_HELP = 0x2F, kVK_0 = 0x30, kVK_1 = 0x31, kVK_2 = 0x32, kVK_3 = 0x33, kVK_4 = 0x34, kVK_5 = 0x35, kVK_6 = 0x36, kVK_7 = 0x37, kVK_8 = 0x38, kVK_9 = 0x39, kVK_A = 0x41, kVK_B = 0x42, kVK_C = 0x43, kVK_D = 0x44, kVK_E = 0x45, kVK_F = 0x46, kVK_G = 0x47, kVK_H = 0x48, kVK_I = 0x49, kVK_J = 0x4A, kVK_K = 0x4B, kVK_L = 0x4C, kVK_M = 0x4D, kVK_N = 0x4E, kVK_O = 0x4F, kVK_P = 0x50, kVK_Q = 0x51, kVK_R = 0x52, kVK_S = 0x53, kVK_T = 0x54, kVK_U = 0x55, kVK_V = 0x56, kVK_W = 0x57, kVK_X = 0x58, kVK_Y = 0x59, kVK_Z = 0x5A, kVK_LWIN = 0x5B, kVK_NUMPAD0 = 0x60, kVK_NUMPAD1 = 0x61, kVK_NUMPAD2 = 0x62, kVK_NUMPAD3 = 0x63, kVK_NUMPAD4 = 0x64, kVK_NUMPAD5 = 0x65, kVK_NUMPAD6 = 0x66, kVK_NUMPAD7 = 0x67, kVK_NUMPAD8 = 0x68, kVK_NUMPAD9 = 0x69, kVK_MULTIPLY = 0x6A, kVK_ADD = 0x6B, kVK_SEPARATOR = 0x6C, kVK_SUBTRACT = 0x6D, kVK_DECIMAL = 0x6E, kVK_DIVIDE = 0x6F, kVK_F1 = 0x70, kVK_F2 = 0x71, kVK_F3 = 0x72, kVK_F4 = 0x73, kVK_F5 = 0x74, kVK_F6 = 0x75, kVK_F7 = 0x76, kVK_F8 = 0x77, kVK_F9 = 0x78, kVK_F10 = 0x79, kVK_F11 = 0x7A, kVK_F12 = 0x7B, kVK_F13 = 0x7C, kVK_F14 = 0x7D, kVK_F15 = 0x7E, kVK_F16 = 0x7F, kVK_F17 = 0x80, kVK_F18 = 0x81, kVK_F19 = 0x82, kVK_F20 = 0x83, kVK_F21 = 0x84, kVK_F22 = 0x85, kVK_F23 = 0x86, kVK_F24 = 0x87, kVK_NUMLOCK = 0x90, kVK_SCROLL = 0x91 } |
Variables | |
static const double | PI = 3.1415926535897932384626433832795 |
static const double | AMP_DB = 8.685889638065036553 |
Magic number for gain to dB conversion. More... | |
static const double | IAMP_DB = 0.11512925464970 |
Magic number for dB to gain conversion. More... | |
static const double | DEFAULT_SAMPLE_RATE = 44100.0 |
static const int | MAX_PRESET_NAME_LEN = 256 |
static const int | MAX_PARAM_DISPLAY_PRECISION = 6 |
static const int | DEFAULT_BLOCK_SIZE = 1024 |
static const double | DEFAULT_TEMPO = 120.0 |
static const int | kNoParameter = -1 |
static const int | kNoValIdx = -1 |
static const int | kNoTag = -1 |
static const char * | ParamSourceStrs [kNumParamSources] = { "Reset", "Host", "Preset", "UI", "Editor Delegate", "Recompile", "Unknown"} |
static const char * | RoutingDirStrs [2] = { "Input", "Output" } |
static const ChunkID | commonChunks [kNumPresetChunks] |
static const int32_t | kFormatVersion = 1 |
static const int32_t | kClassIDSize = 32 |
static const int32_t | kHeaderSize = sizeof (ChunkID) + sizeof (int32_t) + kClassIDSize + sizeof (int64_t) |
static const int | kFXPVersionNum = 1 |
static const int | kFXBVersionNum = 2 |
IPlug Constant definitions, Types, magic numbers.
Definition in file IPlugConstants.h.