|
|
@@ -2,7 +2,7 @@ |
|
|
* aeffectx.h - simple header to allow VeSTige compilation and eventually work |
|
|
* aeffectx.h - simple header to allow VeSTige compilation and eventually work |
|
|
* |
|
|
* |
|
|
* Copyright (c) 2006 Javier Serrano Polo <jasp00/at/users.sourceforge.net> |
|
|
* Copyright (c) 2006 Javier Serrano Polo <jasp00/at/users.sourceforge.net> |
|
|
* |
|
|
|
|
|
|
|
|
* |
|
|
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net |
|
|
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net |
|
|
* |
|
|
* |
|
|
* This program is free software; you can redistribute it and/or |
|
|
* This program is free software; you can redistribute it and/or |
|
|
@@ -113,12 +113,11 @@ |
|
|
#define kEffectMagic (CCONST( 'V', 's', 't', 'P' )) |
|
|
#define kEffectMagic (CCONST( 'V', 's', 't', 'P' )) |
|
|
#define kVstLangEnglish 1 |
|
|
#define kVstLangEnglish 1 |
|
|
#define kVstMidiType 1 |
|
|
#define kVstMidiType 1 |
|
|
#define kVstTempoValid (1 << 10) |
|
|
|
|
|
#define kVstTransportPlaying (1 << 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct RemoteVstPlugin; |
|
|
struct RemoteVstPlugin; |
|
|
|
|
|
|
|
|
|
|
|
#define kVstTransportPlaying (1 << 1) |
|
|
|
|
|
|
|
|
#define kVstNanosValid (1 << 8) |
|
|
#define kVstNanosValid (1 << 8) |
|
|
#define kVstPpqPosValid (1 << 9) |
|
|
#define kVstPpqPosValid (1 << 9) |
|
|
#define kVstTempoValid (1 << 10) |
|
|
#define kVstTempoValid (1 << 10) |
|
|
@@ -250,29 +249,26 @@ struct _AEffect |
|
|
|
|
|
|
|
|
typedef struct _AEffect 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; |
|
|
|
|
|
|
|
|
typedef struct _VstTimeInfo VstTimeInfo; |
|
|
|
|
|
|
|
|
} VstTimeInfo; |
|
|
|
|
|
|
|
|
typedef intptr_t (* audioMasterCallback) (AEffect *, int32_t, int32_t, intptr_t, void *, float); |
|
|
typedef intptr_t (* audioMasterCallback) (AEffect *, int32_t, int32_t, intptr_t, void *, float); |
|
|
|
|
|
|
|
|
|