Ardour  9.0-pre0-582-g084a23a80d
vestige.h File Reference
#include <stdint.h>
Include dependency graph for vestige.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _VstMidiEvent
 
struct  _VstEvent
 
struct  _VstEvents
 
struct  _VstParameterProperties
 
struct  _AEffect
 
struct  _VstTimeInfo
 

Macros

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

Typedefs

typedef struct _VstMidiEvent VstMidiEvent
 
typedef struct _VstEvent VstEvent
 
typedef struct _VstEvents VstEvents
 
typedef struct _VstParameterProperties VstParameterProperties
 
typedef struct _AEffect AEffect
 
typedef struct _VstTimeInfo VstTimeInfo
 
typedef intptr_t(* audioMasterCallback) (AEffect *, int32_t, int32_t, intptr_t, void *, float)
 

Enumerations

enum  Vestige2StringConstants {
  VestigeMaxNameLen = 64 , VestigeMaxLabelLen = 128 , VestigeMaxShortLabelLen = 8 , VestigeMaxCategLabelLen = 24 ,
  VestigeMaxFileNameLen = 100
}
 
enum  VstPlugCategory {
  kPlugCategUnknown = 0 , kPlugCategEffect , kPlugCategSynth , kPlugCategAnalysis ,
  kPlugCategMastering , kPlugCategSpacializer , kPlugCategRoomFx , kPlugSurroundFx ,
  kPlugCategRestoration , kPlugCategOfflineProcess , kPlugCategShell , kPlugCategGenerator ,
  kPlugCategMaxCount
}
 
enum  VstParameterFlags {
  kVstParameterIsSwitch = 1 << 0 , kVstParameterUsesIntegerMinMax = 1 << 1 , kVstParameterUsesFloatStep = 1 << 2 , kVstParameterUsesIntStep = 1 << 3 ,
  kVstParameterSupportsDisplayIndex = 1 << 4 , kVstParameterSupportsDisplayCategory = 1 << 5 , kVstParameterCanRamp = 1 << 6
}
 

Macro Definition Documentation

◆ audioMasterAutomate

#define audioMasterAutomate   0

Definition at line 38 of file vestige.h.

◆ audioMasterBeginEdit

#define audioMasterBeginEdit   43

Definition at line 82 of file vestige.h.

◆ audioMasterCanDo

#define audioMasterCanDo   37

Definition at line 76 of file vestige.h.

◆ audioMasterCloseFileSelector

#define audioMasterCloseFileSelector   46

Definition at line 85 of file vestige.h.

◆ audioMasterCloseWindow

#define audioMasterCloseWindow   40

Definition at line 79 of file vestige.h.

◆ audioMasterCurrentId

#define audioMasterCurrentId   2

Definition at line 40 of file vestige.h.

◆ audioMasterEditFile

#define audioMasterEditFile   47

Definition at line 86 of file vestige.h.

◆ audioMasterEndEdit

#define audioMasterEndEdit   44

Definition at line 83 of file vestige.h.

◆ audioMasterGetAutomationState

#define audioMasterGetAutomationState   24

Definition at line 62 of file vestige.h.

◆ audioMasterGetBlockSize

#define audioMasterGetBlockSize   17

Definition at line 55 of file vestige.h.

◆ audioMasterGetChunkFile

#define audioMasterGetChunkFile   48

Definition at line 87 of file vestige.h.

◆ audioMasterGetCurrentProcessLevel

#define audioMasterGetCurrentProcessLevel   23

Definition at line 61 of file vestige.h.

◆ audioMasterGetDirectory

#define audioMasterGetDirectory   41

Definition at line 80 of file vestige.h.

◆ audioMasterGetInputLatency

#define audioMasterGetInputLatency   18

Definition at line 56 of file vestige.h.

◆ audioMasterGetInputSpeakerArrangement

#define audioMasterGetInputSpeakerArrangement   49

Definition at line 88 of file vestige.h.

◆ audioMasterGetLanguage

#define audioMasterGetLanguage   38

Definition at line 77 of file vestige.h.

◆ audioMasterGetNextPlug

#define audioMasterGetNextPlug   21

Definition at line 59 of file vestige.h.

◆ audioMasterGetNumAutomatableParameters

#define audioMasterGetNumAutomatableParameters   11

Definition at line 49 of file vestige.h.

◆ audioMasterGetOutputLatency

#define audioMasterGetOutputLatency   19

Definition at line 57 of file vestige.h.

◆ audioMasterGetParameterQuantization

#define audioMasterGetParameterQuantization   12

Definition at line 50 of file vestige.h.

◆ audioMasterGetPreviousPlug

#define audioMasterGetPreviousPlug   20

Definition at line 58 of file vestige.h.

◆ audioMasterGetProductString

#define audioMasterGetProductString   33

Definition at line 72 of file vestige.h.

◆ audioMasterGetSampleRate

#define audioMasterGetSampleRate   16

Definition at line 54 of file vestige.h.

◆ audioMasterGetSpeakerArrangement

#define audioMasterGetSpeakerArrangement   31

Definition at line 70 of file vestige.h.

◆ audioMasterGetTime

#define audioMasterGetTime   7

Definition at line 45 of file vestige.h.

◆ audioMasterGetVendorString

#define audioMasterGetVendorString   32

Definition at line 71 of file vestige.h.

◆ audioMasterGetVendorVersion

#define audioMasterGetVendorVersion   34

Definition at line 73 of file vestige.h.

◆ audioMasterIdle

#define audioMasterIdle   3

Definition at line 41 of file vestige.h.

◆ audioMasterIOChanged

#define audioMasterIOChanged   13

Definition at line 51 of file vestige.h.

◆ audioMasterNeedIdle

#define audioMasterNeedIdle   14

Definition at line 52 of file vestige.h.

◆ audioMasterOfflineGetCurrentMetaPass

#define audioMasterOfflineGetCurrentMetaPass   29

Definition at line 67 of file vestige.h.

◆ audioMasterOfflineGetCurrentPass

#define audioMasterOfflineGetCurrentPass   28

Definition at line 66 of file vestige.h.

◆ audioMasterOfflineRead

#define audioMasterOfflineRead   26

Definition at line 64 of file vestige.h.

◆ audioMasterOfflineStart

#define audioMasterOfflineStart   25

Definition at line 63 of file vestige.h.

◆ audioMasterOfflineWrite

#define audioMasterOfflineWrite   27

Definition at line 65 of file vestige.h.

◆ audioMasterOpenFileSelector

#define audioMasterOpenFileSelector   45

Definition at line 84 of file vestige.h.

◆ audioMasterOpenWindow

#define audioMasterOpenWindow   39

Definition at line 78 of file vestige.h.

◆ audioMasterPinConnected

#define audioMasterPinConnected   4

Definition at line 42 of file vestige.h.

◆ audioMasterProcessEvents

#define audioMasterProcessEvents   8

Definition at line 46 of file vestige.h.

◆ audioMasterSetIcon

#define audioMasterSetIcon   36

Definition at line 75 of file vestige.h.

◆ audioMasterSetOutputSampleRate

#define audioMasterSetOutputSampleRate   30

Definition at line 68 of file vestige.h.

◆ audioMasterSetTime

#define audioMasterSetTime   9

Definition at line 47 of file vestige.h.

◆ audioMasterSizeWindow

#define audioMasterSizeWindow   15

Definition at line 53 of file vestige.h.

◆ audioMasterTempoAt

#define audioMasterTempoAt   10

Definition at line 48 of file vestige.h.

◆ audioMasterUpdateDisplay

#define audioMasterUpdateDisplay   42

Definition at line 81 of file vestige.h.

◆ audioMasterVendorSpecific

#define audioMasterVendorSpecific   35

Definition at line 74 of file vestige.h.

◆ audioMasterVersion

#define audioMasterVersion   1

Definition at line 39 of file vestige.h.

◆ audioMasterWantMidi

#define audioMasterWantMidi   6

Definition at line 44 of file vestige.h.

◆ audioMasterWillReplaceOrAccumulate

#define audioMasterWillReplaceOrAccumulate   22

Definition at line 60 of file vestige.h.

◆ CCONST

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

Definition at line 33 of file vestige.h.

◆ effBeginSetProgram

#define effBeginSetProgram   67

Definition at line 128 of file vestige.h.

◆ effCanBeAutomated

#define effCanBeAutomated   26

Definition at line 109 of file vestige.h.

◆ effCanDo

#define effCanDo   51

Definition at line 116 of file vestige.h.

◆ effClose

#define effClose   1

Definition at line 95 of file vestige.h.

◆ effEditClose

#define effEditClose   15

Definition at line 105 of file vestige.h.

◆ effEditGetRect

#define effEditGetRect   13

Definition at line 103 of file vestige.h.

◆ effEditIdle

#define effEditIdle   19

Definition at line 106 of file vestige.h.

◆ effEditOpen

#define effEditOpen   14

Definition at line 104 of file vestige.h.

◆ effEditTop

#define effEditTop   20

Definition at line 107 of file vestige.h.

◆ effEndSetProgram

#define effEndSetProgram   68

Definition at line 129 of file vestige.h.

◆ effFlagsCanReplacing

#define effFlagsCanReplacing   (1 << 4)

Definition at line 91 of file vestige.h.

◆ effFlagsHasEditor

#define effFlagsHasEditor   1

Definition at line 90 of file vestige.h.

◆ effFlagsIsSynth

#define effFlagsIsSynth   (1 << 8)

Definition at line 92 of file vestige.h.

◆ effGetEffectName

#define effGetEffectName   45

Definition at line 112 of file vestige.h.

◆ effGetParameterProperties

#define effGetParameterProperties   56

Definition at line 120 of file vestige.h.

◆ effGetParamName

#define effGetParamName   8

Definition at line 99 of file vestige.h.

◆ effGetPlugCategory

#define effGetPlugCategory   35

Definition at line 111 of file vestige.h.

◆ effGetProductString

#define effGetProductString   48

Definition at line 114 of file vestige.h.

◆ effGetProgram

#define effGetProgram   3

Definition at line 97 of file vestige.h.

◆ effGetProgramName

#define effGetProgramName   5

Definition at line 98 of file vestige.h.

◆ effGetVendorString

#define effGetVendorString   47

Definition at line 113 of file vestige.h.

◆ effGetVendorVersion

#define effGetVendorVersion   49

Definition at line 115 of file vestige.h.

◆ effGetVstVersion

#define effGetVstVersion   58

Definition at line 121 of file vestige.h.

◆ effIdle

#define effIdle   53

Definition at line 118 of file vestige.h.

◆ effMainsChanged

#define effMainsChanged   12

Definition at line 102 of file vestige.h.

◆ effOpen

#define effOpen   0

Definition at line 94 of file vestige.h.

◆ effProcessEvents

#define effProcessEvents   25

Definition at line 108 of file vestige.h.

◆ effSetBlockSize

#define effSetBlockSize   11

Definition at line 101 of file vestige.h.

◆ effSetProgram

#define effSetProgram   2

Definition at line 96 of file vestige.h.

◆ effSetSampleRate

#define effSetSampleRate   10

Definition at line 100 of file vestige.h.

◆ effShellGetNextPlugin

#define effShellGetNextPlugin   70

Definition at line 123 of file vestige.h.

◆ effStartProcess

#define effStartProcess   71

Definition at line 125 of file vestige.h.

◆ effStopProcess

#define effStopProcess   72

Definition at line 126 of file vestige.h.

◆ kEffectMagic

#define kEffectMagic   0x56737450

Definition at line 136 of file vestige.h.

◆ kVstAutomationReading

#define kVstAutomationReading   (1 << 7)

Definition at line 150 of file vestige.h.

◆ kVstAutomationWriting

#define kVstAutomationWriting   (1 << 6)

Definition at line 149 of file vestige.h.

◆ kVstBarsValid

#define kVstBarsValid   (1 << 11)

Definition at line 155 of file vestige.h.

◆ kVstClockValid

#define kVstClockValid   (1 << 15)

Definition at line 159 of file vestige.h.

◆ kVstCyclePosValid

#define kVstCyclePosValid   (1 << 12)

Definition at line 156 of file vestige.h.

◆ kVstLangEnglish

#define kVstLangEnglish   1

Definition at line 139 of file vestige.h.

◆ kVstMidiType

#define kVstMidiType   1

Definition at line 140 of file vestige.h.

◆ kVstNanosValid

#define kVstNanosValid   (1 << 8)

Definition at line 152 of file vestige.h.

◆ kVstPpqPosValid

#define kVstPpqPosValid   (1 << 9)

Definition at line 153 of file vestige.h.

◆ kVstSmpteValid

#define kVstSmpteValid   (1 << 14)

Definition at line 158 of file vestige.h.

◆ kVstTempoValid

#define kVstTempoValid   (1 << 10)

Definition at line 154 of file vestige.h.

◆ kVstTimeSigValid

#define kVstTimeSigValid   (1 << 13)

Definition at line 157 of file vestige.h.

◆ kVstTransportChanged

#define kVstTransportChanged   1

Definition at line 144 of file vestige.h.

◆ kVstTransportCycleActive

#define kVstTransportCycleActive   (1 << 2)

Definition at line 146 of file vestige.h.

◆ kVstTransportPlaying

#define kVstTransportPlaying   (1 << 1)

Definition at line 145 of file vestige.h.

◆ kVstTransportRecording

#define kVstTransportRecording   (1 << 3)

Definition at line 147 of file vestige.h.

Typedef Documentation

◆ AEffect

typedef struct _AEffect AEffect

Definition at line 1 of file vestige.h.

◆ audioMasterCallback

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

Definition at line 341 of file vestige.h.

◆ VstEvent

typedef struct _VstEvent VstEvent

Definition at line 1 of file vestige.h.

◆ VstEvents

typedef struct _VstEvents VstEvents

Definition at line 1 of file vestige.h.

◆ VstMidiEvent

typedef struct _VstMidiEvent VstMidiEvent

Definition at line 1 of file vestige.h.

◆ VstParameterProperties

Definition at line 1 of file vestige.h.

◆ VstTimeInfo

typedef struct _VstTimeInfo VstTimeInfo

Enumeration Type Documentation

◆ Vestige2StringConstants

Enumerator
VestigeMaxNameLen 
VestigeMaxLabelLen 
VestigeMaxShortLabelLen 
VestigeMaxCategLabelLen 
VestigeMaxFileNameLen 

Definition at line 210 of file vestige.h.

◆ VstParameterFlags

Enumerator
kVstParameterIsSwitch 
kVstParameterUsesIntegerMinMax 
kVstParameterUsesFloatStep 
kVstParameterUsesIntStep 
kVstParameterSupportsDisplayIndex 
kVstParameterSupportsDisplayCategory 
kVstParameterCanRamp 

Definition at line 265 of file vestige.h.

◆ VstPlugCategory

Enumerator
kPlugCategUnknown 
kPlugCategEffect 
kPlugCategSynth 
kPlugCategAnalysis 
kPlugCategMastering 
kPlugCategSpacializer 
kPlugCategRoomFx 
kPlugSurroundFx 
kPlugCategRestoration 
kPlugCategOfflineProcess 
kPlugCategShell 
kPlugCategGenerator 
kPlugCategMaxCount 

Definition at line 222 of file vestige.h.