Audacity  2.2.2
Classes | Macros | Typedefs | Enumerations | Variables
aeffectx.h File Reference
#include <stdint.h>

Go to the source code of this file.

Classes

class  VstMidiEvent
 
class  VstEvent
 
class  VstEvents
 
class  VstParameterProperties
 
class  AEffect
 VST Effects class, conforming to VST layout. More...
 
class  VstTimeInfo
 
struct  VstPatchChunkInfo
 
class  VstRect
 

Macros

#define CCONST(a, b, c, d)
 

Typedefs

typedef intptr_t(* audioMasterCallback )(AEffect *, int32_t, int32_t, intptr_t, void *, float)
 

Enumerations

enum  VstParameterFlags {
  kVstParameterIsSwitch = 1 << 0, kVstParameterUsesIntegerMinMax = 1 << 1, kVstParameterUsesFloatStep = 1 << 2, kVstParameterUsesIntStep = 1 << 3,
  kVstParameterSupportsDisplayIndex = 1 << 4, kVstParameterSupportsDisplayCategory = 1 << 5, kVstParameterCanRamp = 1 << 6
}
 
enum  VstPlugCategory {
  kPlugCategUnknown = 0, kPlugCategEffect, kPlugCategSynth, kPlugCategAnalysis,
  kPlugCategMastering, kPlugCategSpacializer, kPlugCategRoomFx, kPlugSurroundFx,
  kPlugCategRestoration, kPlugCategOfflineProcess, kPlugCategShell, kPlugCategGenerator,
  kPlugCategMaxCount
}
 

Variables

const int audioMasterAutomate = 0
 
const int audioMasterVersion = 1
 
const int audioMasterCurrentId = 2
 
const int audioMasterIdle = 3
 
const int audioMasterPinConnected = 4
 
const int audioMasterWantMidi = 6
 
const int audioMasterGetTime = 7
 
const int audioMasterProcessEvents = 8
 
const int audioMasterSetTime = 9
 
const int audioMasterTempoAt = 10
 
const int audioMasterGetNumAutomatableParameters = 11
 
const int audioMasterGetParameterQuantization = 12
 
const int audioMasterIOChanged = 13
 
const int audioMasterNeedIdle = 14
 
const int audioMasterSizeWindow = 15
 
const int audioMasterGetSampleRate = 16
 
const int audioMasterGetBlockSize = 17
 
const int audioMasterGetInputLatency = 18
 
const int audioMasterGetOutputLatency = 19
 
const int audioMasterGetPreviousPlug = 20
 
const int audioMasterGetNextPlug = 21
 
const int audioMasterWillReplaceOrAccumulate = 22
 
const int audioMasterGetCurrentProcessLevel = 23
 
const int audioMasterGetAutomationState = 24
 
const int audioMasterOfflineStart = 25
 
const int audioMasterOfflineRead = 26
 
const int audioMasterOfflineWrite = 27
 
const int audioMasterOfflineGetCurrentPass = 28
 
const int audioMasterOfflineGetCurrentMetaPass = 29
 
const int audioMasterSetOutputSampleRate = 30
 
const int audioMasterGetSpeakerArrangement = 31
 
const int audioMasterGetVendorString = 32
 
const int audioMasterGetProductString = 33
 
const int audioMasterGetVendorVersion = 34
 
const int audioMasterVendorSpecific = 35
 
const int audioMasterSetIcon = 36
 
const int audioMasterCanDo = 37
 
const int audioMasterGetLanguage = 38
 
const int audioMasterOpenWindow = 39
 
const int audioMasterCloseWindow = 40
 
const int audioMasterGetDirectory = 41
 
const int audioMasterUpdateDisplay = 42
 
const int audioMasterBeginEdit = 43
 
const int audioMasterEndEdit = 44
 
const int audioMasterOpenFileSelector = 45
 
const int audioMasterCloseFileSelector = 46
 
const int audioMasterEditFile = 47
 
const int audioMasterGetChunkFile = 48
 
const int audioMasterGetInputSpeakerArrangement = 49
 
const int effFlagsHasEditor = 1
 
const int effFlagsCanReplacing = 1 << 4
 
const int effFlagsProgramChunks = 1 << 5
 
const int effFlagsIsSynth = 1 << 8
 
const int effOpen = 0
 
const int effClose = 1
 
const int effSetProgram = 2
 
const int effGetProgram = 3
 
const int effSetProgramName = 4
 
const int effGetProgramName = 5
 
const int effGetParamLabel = 6
 
const int effGetParamDisplay = 7
 
const int effGetParamName = 8
 
const int effSetSampleRate = 10
 
const int effSetBlockSize = 11
 
const int effMainsChanged = 12
 
const int effEditGetRect = 13
 
const int effEditOpen = 14
 
const int effEditClose = 15
 
const int effEditIdle = 19
 
const int effEditTop = 20
 
const int effIdentify = 22
 
const int effGetChunk = 23
 
const int effSetChunk = 24
 
const int effProcessEvents = 25
 
const int effCanBeAutomated = 26
 
const int effGetProgramNameIndexed = 29
 
const int effGetPlugCategory = 35
 
const int effGetEffectName = 45
 
const int effGetParameterProperties = 56
 
const int effGetVendorString = 47
 
const int effGetProductString = 48
 
const int effGetVendorVersion = 49
 
const int effCanDo = 51
 
const int effIdle = 53
 
const int effGetVstVersion = 58
 
const int effBeginSetProgram = 67
 
const int effEndSetProgram = 68
 
const int effShellGetNextPlugin = 70
 
const int effBeginLoadBank = 75
 
const int effBeginLoadProgram = 76
 
const int effStartProcess = 71
 
const int effStopProcess = 72
 
const int kEffectMagic = CCONST( 'V', 's', 't', 'P' )
 
const int kVstLangEnglish = 1
 
const int kVstMidiType = 1
 
const int kVstNanosValid = 1 << 8
 
const int kVstPpqPosValid = 1 << 9
 
const int kVstTempoValid = 1 << 10
 
const int kVstBarsValid = 1 << 11
 
const int kVstCyclePosValid = 1 << 12
 
const int kVstTimeSigValid = 1 << 13
 
const int kVstSmpteValid = 1 << 14
 
const int kVstClockValid = 1 << 15
 
const int kVstTransportPlaying = 1 << 1
 
const int kVstTransportCycleActive = 1 << 2
 
const int kVstTransportChanged = 1
 

Macro Definition Documentation

#define CCONST (   a,
  b,
  c,
 
)
Value:
( ( ( (int) a ) << 24 ) | \
( ( (int) b ) << 16 ) | \
( ( (int) c ) << 8 ) | \
( ( (int) d ) << 0 ) )

Definition at line 29 of file aeffectx.h.

Typedef Documentation

typedef intptr_t(* audioMasterCallback)(AEffect *, int32_t, int32_t, intptr_t, void *, float)

Definition at line 337 of file aeffectx.h.

Enumeration Type Documentation

Enumerator
kVstParameterIsSwitch 
kVstParameterUsesIntegerMinMax 
kVstParameterUsesFloatStep 
kVstParameterUsesIntStep 
kVstParameterSupportsDisplayIndex 
kVstParameterSupportsDisplayCategory 
kVstParameterCanRamp 

Definition at line 341 of file aeffectx.h.

342 {
343  kVstParameterIsSwitch = 1 << 0, // parameter is a switch (on/off)
344  kVstParameterUsesIntegerMinMax = 1 << 1, // minInteger, maxInteger valid
345  kVstParameterUsesFloatStep = 1 << 2, // stepFloat, smallStepFloat, largeStepFloat valid
346  kVstParameterUsesIntStep = 1 << 3, // stepInteger, largeStepInteger valid
347  kVstParameterSupportsDisplayIndex = 1 << 4, // displayIndex valid
348  kVstParameterSupportsDisplayCategory = 1 << 5, // category, etc. valid
349  kVstParameterCanRamp = 1 << 6 // set if parameter value can ramp up/down
350 };
Enumerator
kPlugCategUnknown 
kPlugCategEffect 
kPlugCategSynth 
kPlugCategAnalysis 
kPlugCategMastering 
kPlugCategSpacializer 
kPlugCategRoomFx 
kPlugSurroundFx 
kPlugCategRestoration 
kPlugCategOfflineProcess 
kPlugCategShell 
kPlugCategGenerator 
kPlugCategMaxCount 

Definition at line 363 of file aeffectx.h.

364 {
365  kPlugCategUnknown = 0, // 0=Unknown, category not implemented
366  kPlugCategEffect, // 1=Simple Effect
367  kPlugCategSynth, // 2=VST Instrument (Synths, samplers,...)
368  kPlugCategAnalysis, // 3=Scope, Tuner, ...
369  kPlugCategMastering, // 4=Dynamics, ...
370  kPlugCategSpacializer, // 5=Panners, ...
371  kPlugCategRoomFx, // 6=Delays and Reverbs
372  kPlugSurroundFx, // 7=Dedicated surround processor
373  kPlugCategRestoration, // 8=Denoiser, ...
374  kPlugCategOfflineProcess, // 9=Offline Process
375  kPlugCategShell, // 10=Plug-in is container of other plug-ins @see effShellGetNextPlugin()
376  kPlugCategGenerator, // 11=ToneGenerator, ...
377  kPlugCategMaxCount // 12=Marker to count the categories
378 };

Variable Documentation

const int audioMasterAutomate = 0

Definition at line 34 of file aeffectx.h.

const int audioMasterBeginEdit = 43

Definition at line 78 of file aeffectx.h.

const int audioMasterCanDo = 37

Definition at line 72 of file aeffectx.h.

const int audioMasterCloseFileSelector = 46

Definition at line 81 of file aeffectx.h.

const int audioMasterCloseWindow = 40

Definition at line 75 of file aeffectx.h.

const int audioMasterCurrentId = 2

Definition at line 36 of file aeffectx.h.

const int audioMasterEditFile = 47

Definition at line 82 of file aeffectx.h.

const int audioMasterEndEdit = 44

Definition at line 79 of file aeffectx.h.

const int audioMasterGetAutomationState = 24

Definition at line 58 of file aeffectx.h.

const int audioMasterGetBlockSize = 17

Definition at line 51 of file aeffectx.h.

const int audioMasterGetChunkFile = 48

Definition at line 83 of file aeffectx.h.

const int audioMasterGetCurrentProcessLevel = 23

Definition at line 57 of file aeffectx.h.

const int audioMasterGetDirectory = 41

Definition at line 76 of file aeffectx.h.

const int audioMasterGetInputLatency = 18

Definition at line 52 of file aeffectx.h.

const int audioMasterGetInputSpeakerArrangement = 49

Definition at line 84 of file aeffectx.h.

const int audioMasterGetLanguage = 38

Definition at line 73 of file aeffectx.h.

const int audioMasterGetNextPlug = 21

Definition at line 55 of file aeffectx.h.

const int audioMasterGetNumAutomatableParameters = 11

Definition at line 45 of file aeffectx.h.

const int audioMasterGetOutputLatency = 19

Definition at line 53 of file aeffectx.h.

const int audioMasterGetParameterQuantization = 12

Definition at line 46 of file aeffectx.h.

const int audioMasterGetPreviousPlug = 20

Definition at line 54 of file aeffectx.h.

const int audioMasterGetProductString = 33

Definition at line 68 of file aeffectx.h.

const int audioMasterGetSampleRate = 16

Definition at line 50 of file aeffectx.h.

const int audioMasterGetSpeakerArrangement = 31

Definition at line 66 of file aeffectx.h.

const int audioMasterGetTime = 7

Definition at line 41 of file aeffectx.h.

const int audioMasterGetVendorString = 32

Definition at line 67 of file aeffectx.h.

const int audioMasterGetVendorVersion = 34

Definition at line 69 of file aeffectx.h.

const int audioMasterIdle = 3

Definition at line 37 of file aeffectx.h.

const int audioMasterIOChanged = 13

Definition at line 47 of file aeffectx.h.

const int audioMasterNeedIdle = 14

Definition at line 48 of file aeffectx.h.

const int audioMasterOfflineGetCurrentMetaPass = 29

Definition at line 63 of file aeffectx.h.

const int audioMasterOfflineGetCurrentPass = 28

Definition at line 62 of file aeffectx.h.

const int audioMasterOfflineRead = 26

Definition at line 60 of file aeffectx.h.

const int audioMasterOfflineStart = 25

Definition at line 59 of file aeffectx.h.

const int audioMasterOfflineWrite = 27

Definition at line 61 of file aeffectx.h.

const int audioMasterOpenFileSelector = 45

Definition at line 80 of file aeffectx.h.

const int audioMasterOpenWindow = 39

Definition at line 74 of file aeffectx.h.

const int audioMasterPinConnected = 4

Definition at line 38 of file aeffectx.h.

const int audioMasterProcessEvents = 8

Definition at line 42 of file aeffectx.h.

const int audioMasterSetIcon = 36

Definition at line 71 of file aeffectx.h.

const int audioMasterSetOutputSampleRate = 30

Definition at line 64 of file aeffectx.h.

const int audioMasterSetTime = 9

Definition at line 43 of file aeffectx.h.

const int audioMasterSizeWindow = 15

Definition at line 49 of file aeffectx.h.

const int audioMasterTempoAt = 10

Definition at line 44 of file aeffectx.h.

const int audioMasterUpdateDisplay = 42

Definition at line 77 of file aeffectx.h.

const int audioMasterVendorSpecific = 35

Definition at line 70 of file aeffectx.h.

const int audioMasterVersion = 1

Definition at line 35 of file aeffectx.h.

const int audioMasterWantMidi = 6

Definition at line 40 of file aeffectx.h.

const int audioMasterWillReplaceOrAccumulate = 22

Definition at line 56 of file aeffectx.h.

const int effBeginLoadBank = 75

Definition at line 136 of file aeffectx.h.

const int effBeginLoadProgram = 76

Definition at line 138 of file aeffectx.h.

const int effBeginSetProgram = 67

Definition at line 130 of file aeffectx.h.

const int effCanBeAutomated = 26

Definition at line 115 of file aeffectx.h.

const int effCanDo = 51

Definition at line 125 of file aeffectx.h.

const int effClose = 1

Definition at line 92 of file aeffectx.h.

const int effEditClose = 15

Definition at line 107 of file aeffectx.h.

Referenced by VSTControl::~VSTControl().

const int effEditGetRect = 13

Definition at line 105 of file aeffectx.h.

Referenced by VSTControl::Create().

const int effEditIdle = 19

Definition at line 108 of file aeffectx.h.

const int effEditOpen = 14

Definition at line 106 of file aeffectx.h.

Referenced by VSTControl::Create().

const int effEditTop = 20

Definition at line 109 of file aeffectx.h.

const int effEndSetProgram = 68

Definition at line 132 of file aeffectx.h.

const int effFlagsCanReplacing = 1 << 4

Definition at line 87 of file aeffectx.h.

const int effFlagsHasEditor = 1

Definition at line 86 of file aeffectx.h.

const int effFlagsIsSynth = 1 << 8

Definition at line 89 of file aeffectx.h.

const int effFlagsProgramChunks = 1 << 5

Definition at line 88 of file aeffectx.h.

const int effGetChunk = 23

Definition at line 111 of file aeffectx.h.

const int effGetEffectName = 45

Definition at line 120 of file aeffectx.h.

const int effGetParamDisplay = 7

Definition at line 100 of file aeffectx.h.

const int effGetParameterProperties = 56

Definition at line 121 of file aeffectx.h.

const int effGetParamLabel = 6

Definition at line 99 of file aeffectx.h.

const int effGetParamName = 8

Definition at line 101 of file aeffectx.h.

const int effGetPlugCategory = 35

Definition at line 119 of file aeffectx.h.

const int effGetProductString = 48

Definition at line 123 of file aeffectx.h.

const int effGetProgram = 3

Definition at line 94 of file aeffectx.h.

const int effGetProgramName = 5

Definition at line 97 of file aeffectx.h.

const int effGetProgramNameIndexed = 29

Definition at line 117 of file aeffectx.h.

const int effGetVendorString = 47

Definition at line 122 of file aeffectx.h.

const int effGetVendorVersion = 49

Definition at line 124 of file aeffectx.h.

const int effGetVstVersion = 58

Definition at line 128 of file aeffectx.h.

const int effIdentify = 22

Definition at line 110 of file aeffectx.h.

const int effIdle = 53

Definition at line 127 of file aeffectx.h.

const int effMainsChanged = 12

Definition at line 104 of file aeffectx.h.

const int effOpen = 0

Definition at line 91 of file aeffectx.h.

const int effProcessEvents = 25

Definition at line 113 of file aeffectx.h.

const int effSetBlockSize = 11

Definition at line 103 of file aeffectx.h.

const int effSetChunk = 24

Definition at line 112 of file aeffectx.h.

const int effSetProgram = 2

Definition at line 93 of file aeffectx.h.

const int effSetProgramName = 4

Definition at line 96 of file aeffectx.h.

const int effSetSampleRate = 10

Definition at line 102 of file aeffectx.h.

const int effShellGetNextPlugin = 70

Definition at line 134 of file aeffectx.h.

const int effStartProcess = 71

Definition at line 141 of file aeffectx.h.

const int effStopProcess = 72

Definition at line 142 of file aeffectx.h.

const int kEffectMagic = CCONST( 'V', 's', 't', 'P' )

Definition at line 144 of file aeffectx.h.

const int kVstBarsValid = 1 << 11

Definition at line 151 of file aeffectx.h.

const int kVstClockValid = 1 << 15

Definition at line 155 of file aeffectx.h.

const int kVstCyclePosValid = 1 << 12

Definition at line 152 of file aeffectx.h.

const int kVstLangEnglish = 1

Definition at line 145 of file aeffectx.h.

const int kVstMidiType = 1

Definition at line 146 of file aeffectx.h.

const int kVstNanosValid = 1 << 8

Definition at line 148 of file aeffectx.h.

const int kVstPpqPosValid = 1 << 9

Definition at line 149 of file aeffectx.h.

const int kVstSmpteValid = 1 << 14

Definition at line 154 of file aeffectx.h.

const int kVstTempoValid = 1 << 10

Definition at line 150 of file aeffectx.h.

const int kVstTimeSigValid = 1 << 13

Definition at line 153 of file aeffectx.h.

const int kVstTransportChanged = 1

Definition at line 159 of file aeffectx.h.

const int kVstTransportCycleActive = 1 << 2

Definition at line 158 of file aeffectx.h.

const int kVstTransportPlaying = 1 << 1

Definition at line 157 of file aeffectx.h.