forked from cgestes/multifxvst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvstfxstore.h
62 lines (49 loc) · 1.35 KB
/
vstfxstore.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef __vstfxstore__
#define __vstfxstore__
#define cMagic 'CcnK'
#define fMagic 'FxCk'
#define bankMagic 'FxBk'
#define chunkGlobalMagic 'FxCh'
#define chunkPresetMagic 'FPCh'
#define chunkBankMagic 'FBCh'
//--------------------------------------------------------------------
struct fxProgram
{
long chunkMagic; // 'CcnK'
long byteSize; // of this chunk, excl. magic + byteSize
long fxMagic; // 'FxCk'
long version;
long fxID; // fx unique id
long fxVersion;
long numParams;
char prgName[28];
float params[1]; // variable no. of parameters
};
//--------------------------------------------------------------------
struct fxSet
{
long chunkMagic; // 'CcnK'
long byteSize; // of this chunk, excl. magic + byteSize
long fxMagic; // 'FxBk'
long version;
long fxID; // fx unique id
long fxVersion;
long numPrograms;
char future[128];
fxProgram programs[1]; // variable no. of programs
};
//--------------------------------------------------------------------
struct fxChunkSet
{
long chunkMagic; // 'CcnK'
long byteSize; // of this chunk, excl. magic + byteSize
long fxMagic; // 'FxCh', 'FPCh', or 'FBCh'
long version;
long fxID; // fx unique id
long fxVersion;
long numPrograms;
char future[128];
long chunkSize;
char chunk[8]; // variable
};
#endif