diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-15 16:07:47 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-15 16:07:47 -0500 |
commit | a454bedc1d00a67c1979ec47ae1d4d9144118bfa (patch) | |
tree | 7ad41ff38a677fc992bb89a445b11d56cc06d99a | |
parent | 79b56b1d3319d03d14b2d3e2f8d6cd7b3e797deb (diff) |
update VstTimeInfo structure, from Qtractor's version of vestige, which has all fields thanks to some steinberg online docs
-rw-r--r-- | libs/ardour/ardour/vestige/aeffectx.h | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/libs/ardour/ardour/vestige/aeffectx.h b/libs/ardour/ardour/vestige/aeffectx.h index 5238df1c75..2fb7df9065 100644 --- a/libs/ardour/ardour/vestige/aeffectx.h +++ b/libs/ardour/ardour/vestige/aeffectx.h @@ -250,27 +250,26 @@ struct _AEffect typedef struct _AEffect AEffect; -struct _VstTimeInfo +typedef struct _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; -}; + /* 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; typedef struct _VstTimeInfo VstTimeInfo; |