summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-01-15 16:06:57 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-01-15 16:06:57 -0500
commit00f145dbdf191e7817ecb6c633f271de42db064b (patch)
treef644ec97fe583d6f0922b1e70a233800adfa3e19 /libs/ardour/ardour
parentfebc6b957e8f73d9859ed22f3bf9ec20387e1cef (diff)
Revert "update VstTimeInfo structure, from Qtractor's version of vestige, which has all fields thanks to some steinberg online docs"
This reverts commit febc6b957e8f73d9859ed22f3bf9ec20387e1cef.
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/vestige/aeffectx.h39
1 files changed, 20 insertions, 19 deletions
diff --git a/libs/ardour/ardour/vestige/aeffectx.h b/libs/ardour/ardour/vestige/aeffectx.h
index 2fb7df9065..5238df1c75 100644
--- a/libs/ardour/ardour/vestige/aeffectx.h
+++ b/libs/ardour/ardour/vestige/aeffectx.h
@@ -250,26 +250,27 @@ struct _AEffect
typedef struct _AEffect AEffect;
-typedef struct _VstTimeInfo
+struct _VstTimeInfo
{
- /* info from online documentation of VST provided by Steinberg */
-
- double samplePos;
- double sampleRate;
- double nanoSeconds;
- double ppqPos;
- double tempo;
- double barStartPos;
- double cycleStartPos;
- double cycleEndPos;
- int32_t timeSigNumerator;
- int32_t timeSigDenominator;
- int32_t smpteOffset;
- int32_t smpteFrameRate;
- int32_t samplesToNextClock;
- int32_t flags;
-
-} VstTimeInfo;
+ // 00
+ double samplePos;
+ // 08
+ double sampleRate;
+ // unconfirmed 10 18
+ char empty1[8 + 8];
+ // 20?
+ double tempo;
+ // unconfirmed 28 30 38
+ char empty2[8 + 8 + 8];
+ // 40?
+ int timeSigNumerator;
+ // 44?
+ int timeSigDenominator;
+ // unconfirmed 48 4c 50
+ char empty3[4 + 4 + 4];
+ // 54
+ int flags;
+};
typedef struct _VstTimeInfo VstTimeInfo;